summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d1c31cf)
raw | patch | inline | side by side (parent: d1c31cf)
author | Max Kellermann <max@duempel.org> | |
Fri, 19 Sep 2008 14:23:33 +0000 (16:23 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Fri, 19 Sep 2008 14:23:33 +0000 (16:23 +0200) |
Fix a memory leak: the concatened list was never freed.
src/screen_search.c | patch | blob | history |
diff --git a/src/screen_search.c b/src/screen_search.c
index cf919218aca4e1b811e506cef958d5b9736ca0ad..803772f4fd46535d57add4a439ffdb80fb76deb3 100644 (file)
--- a/src/screen_search.c
+++ b/src/screen_search.c
local_pattern);
filelist_move(list, list2);
+ filelist_free(list2);
filelist_sort(list, compare_filelistentry_format);
list->updated = TRUE;
} else