aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_search.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen_search.c')
-rw-r--r--src/screen_search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen_search.c b/src/screen_search.c
index 235eeeecc..3856e422f 100644
--- a/src/screen_search.c
+++ b/src/screen_search.c
@@ -283,7 +283,7 @@ search_advanced_query(char *query, mpdclient_t *c)
mpd_commitSearch(c->connection);
- fl = g_malloc0(sizeof(mpdclient_filelist_t));
+ fl = filelist_new(NULL);
while ((entity=mpd_getNextInfoEntity(c->connection)))
filelist_append(fl, entity);