From 1982b42e73af9e6272c9e7fe803be3739847dcbe Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 19 Sep 2008 16:23:33 +0200 Subject: [PATCH] screen_search: free second file list Fix a memory leak: the concatened list was never freed. --- src/screen_search.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/screen_search.c b/src/screen_search.c index cf91921..803772f 100644 --- a/src/screen_search.c +++ b/src/screen_search.c @@ -190,6 +190,7 @@ filelist_search(mpdclient_t *c, mpd_unused int exact_match, int table, local_pattern); filelist_move(list, list2); + filelist_free(list2); filelist_sort(list, compare_filelistentry_format); list->updated = TRUE; } else -- 2.30.2