summaryrefslogtreecommitdiff
path: root/lsp.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-20 14:38:48 -0500
committerpommicket <pommicket@gmail.com>2022-12-20 14:38:48 -0500
commit9dc4d70511862004661cd5b0c02adc500c35f42e (patch)
tree988958faba1d695e314c1d5d5e91d0f4285e5b7c /lsp.c
parent6b88ac48b9731771f85df727754a3bab998d7d2b (diff)
working didChange
Diffstat (limited to 'lsp.c')
-rw-r--r--lsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsp.c b/lsp.c
index b84abe2..e9654cb 100644
--- a/lsp.c
+++ b/lsp.c
@@ -21,7 +21,7 @@ bool lsp_get_error(LSP *lsp, char *error, size_t error_size, bool clear) {
static void lsp_document_position_free(LSPDocumentPosition *position) {
- free(position->path);
+ free(position->document);
}
static void lsp_document_change_event_free(LSPDocumentChangeEvent *event) {