From b00e89d83ee95ea3129ee9bc31ba540ef0f42adf Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Thu, 14 Mar 2024 21:38:16 +0100 Subject: fix memleak of old result --- src/windows/main_windows.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/windows/main_windows.cpp') 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(); -- cgit v1.2.3-70-g09d2