summaryrefslogtreecommitdiff
path: root/lsp-write.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-30 12:42:32 -0500
committerpommicket <pommicket@gmail.com>2022-12-30 12:42:32 -0500
commit66367583a3b57e37e9198838222f45d99e77d8ae (patch)
tree74764837b87f3d25e726265dbf3d6ae7cede3b7f /lsp-write.c
parent65cbe00bc124bdc1bd83bcd42ad5fbed521412b2 (diff)
definitions menu, but it's acting weird
Diffstat (limited to 'lsp-write.c')
-rw-r--r--lsp-write.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lsp-write.c b/lsp-write.c
index 58c5a8f..b8167b4 100644
--- a/lsp-write.c
+++ b/lsp-write.c
@@ -622,9 +622,6 @@ static void write_message(LSP *lsp, LSPMessage *message) {
write_response(lsp, &message->u.response);
break;
}
- // it's okay to free the message here since the request/response part has been zeroed.
- // (as i'm writing this, this won't do anything but it might in the future)
- lsp_message_free(message);
}
#undef write_bool