diff options
| author | frosty <gabriel@bwaaa.monster> | 2026-08-15 02:57:29 -0400 |
|---|---|---|
| committer | frosty <gabriel@bwaaa.monster> | 2026-08-15 02:58:24 -0400 |
| commit | 68d9d46e5ee5eeefca8630ee4c26f7794a8842a4 (patch) | |
| tree | e2918bf9611bb6e2f86a4c42b0bfc8d099792182 /src/Routes | |
| parent | bc0bc73044edd2af10497d6ef1f6ac077be680c2 (diff) | |
| download | omnisearch-68d9d46e5ee5eeefca8630ee4c26f7794a8842a4.tar.gz | |
fix: improve memory handling in search cleanup paths
Diffstat (limited to 'src/Routes')
| -rw-r--r-- | src/Routes/Search.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Routes/Search.c b/src/Routes/Search.c index e7703be..7fcdac8 100644 --- a/src/Routes/Search.c +++ b/src/Routes/Search.c @@ -287,8 +287,7 @@ static void free_search_results(SearchResult **all_results, ScrapeJob *jobs, static void free_infobox_results(InfoBoxThreadData *data) { for (int i = 0; i < HANDLER_COUNT; i++) { - if (data[i].success) - free_infobox(&data[i].result); + free_infobox(&data[i].result); } } |
