summaryrefslogtreecommitdiff
path: root/lsp-write.c
diff options
context:
space:
mode:
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