summaryrefslogtreecommitdiff
path: root/ide-usages.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-08-09 19:14:52 -0300
committerpommicket <pommicket@gmail.com>2023-08-09 19:14:52 -0300
commitcca844b42a6303282e7536c8834b74ff56140cbf (patch)
tree78e58dcbb386c10e0311bfced55f79e251e1a569 /ide-usages.c
parent310faf5d70b8a65c83c013a31ab87d9d3f301767 (diff)
more pointerizing of buffers, fix memory leaks
Diffstat (limited to 'ide-usages.c')
-rw-r--r--ide-usages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ide-usages.c b/ide-usages.c
index ff393f1..435b7a2 100644
--- a/ide-usages.c
+++ b/ide-usages.c
@@ -47,7 +47,7 @@ void usages_process_lsp_response(Ted *ted, const LSPResponse *response) {
LSP *lsp = ted_get_lsp_by_id(ted, usages->last_request.lsp);
const LSPResponseReferences *refs = &response->data.references;
if (lsp && arr_len(refs->locations)) {
- TextBuffer *buffer = &ted->build_buffer;
+ TextBuffer *buffer = ted->build_buffer;
build_setup_buffer(ted);
ted->build_shown = true;
char last_path[TED_PATH_MAX] = {0};