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