From: Max Kellermann Date: Fri, 19 Sep 2008 14:23:33 +0000 (+0200) Subject: screen_search: free second file list X-Git-Tag: v0.12_alpha1~221 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1982b42e73af9e6272c9e7fe803be3739847dcbe;p=ncmpc.git screen_search: free second file list Fix a memory leak: the concatened list was never freed. --- 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