summaryrefslogtreecommitdiff
path: root/src/windows
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-03-14 21:38:16 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-03-14 21:38:16 +0100
commitb00e89d83ee95ea3129ee9bc31ba540ef0f42adf (patch)
tree43a121fe7e74ba080deab12b1452d00e8e901d34 /src/windows
parent313e98335e47e2321a8e59e757b991d3e300c3ef (diff)
fix memleak of old result
Diffstat (limited to 'src/windows')
-rw-r--r--src/windows/main_windows.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/windows/main_windows.cpp b/src/windows/main_windows.cpp
index 2426159..1479e79 100644
--- a/src/windows/main_windows.cpp
+++ b/src/windows/main_windows.cpp
@@ -183,6 +183,8 @@ int main(int, char**)
_ts_platform_draw_frame();
}
+ ts_destroy_result(current_search_result);
+
ImGui_ImplOpenGL3_Shutdown();
ImGui_ImplWin32_Shutdown();
ImGui::DestroyContext();