summaryrefslogtreecommitdiff
path: root/lsp.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-07-19 11:46:28 -0400
committerpommicket <pommicket@gmail.com>2023-07-19 19:03:22 -0400
commit4143734747b7b544daecdf1b8676838362c6cb59 (patch)
treee7c879967027f47b957c35e551b3e971a6aab924 /lsp.h
parente5dc92fcd600b15977cad7c81de7b8c1cd11fb87 (diff)
fix memory leaks (not really leaky)
Diffstat (limited to 'lsp.h')
-rw-r--r--lsp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lsp.h b/lsp.h
index dd7288f..fe74703 100644
--- a/lsp.h
+++ b/lsp.h
@@ -755,6 +755,8 @@ char *json_string_get_alloc(const JSON *json, JSONString string);
void json_debug_print(const JSON *json);
size_t json_escape_to(char *out, size_t out_sz, const char *in);
char *json_escape(const char *str);
+/// free resources used by lsp-write.c
+void lsp_write_quit(void);
/// print server-to-client communication
#define LSP_SHOW_S2C 0