diff options
author | Max Kellermann <max@duempel.org> | 2008-09-19 16:23:33 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-19 16:23:33 +0200 |
commit | 1982b42e73af9e6272c9e7fe803be3739847dcbe (patch) | |
tree | 72aef22593694f26c2cdc3d157649b0631eeb56b /src | |
parent | d1c31cf66398447b5ba0d0a60de5b92ad162675c (diff) | |
download | mpd-1982b42e73af9e6272c9e7fe803be3739847dcbe.tar.gz mpd-1982b42e73af9e6272c9e7fe803be3739847dcbe.tar.xz mpd-1982b42e73af9e6272c9e7fe803be3739847dcbe.zip |
screen_search: free second file list
Fix a memory leak: the concatened list was never freed.
Diffstat (limited to 'src')
-rw-r--r-- | src/screen_search.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/screen_search.c b/src/screen_search.c index cf919218a..803772f4f 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 |