summaryrefslogtreecommitdiff
path: root/lsp.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-29 22:45:37 -0500
committerpommicket <pommicket@gmail.com>2022-12-29 22:45:37 -0500
commitadbfd5f248d390ae73eb9da636a457ce770c9ac0 (patch)
tree5b989332e857cb2dc9078595d8a46f654a82928a /lsp.c
parent43eea17544e4bed4384c76d3d95be2c0688b9e27 (diff)
error LSPResponse member
Diffstat (limited to 'lsp.c')
-rw-r--r--lsp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lsp.c b/lsp.c
index 830f90d..e1fdd16 100644
--- a/lsp.c
+++ b/lsp.c
@@ -87,6 +87,7 @@ static void lsp_response_free(LSPResponse *r) {
break;
}
lsp_request_free(&r->request);
+ free(r->error);
memset(r, 0, sizeof *r);
}