aboutsummaryrefslogtreecommitdiffstats
path: root/src/mpdclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mpdclient.c')
-rw-r--r--src/mpdclient.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mpdclient.c b/src/mpdclient.c
index 2f5591f60..5a630fb2b 100644
--- a/src/mpdclient.c
+++ b/src/mpdclient.c
@@ -808,7 +808,7 @@ mpdclient_filelist_search_utf8(mpdclient_t *c,
}
if (mpdclient_finish_command(c)) {
- mpdclient_filelist_free(filelist);
+ filelist_free(filelist);
return NULL;
}
@@ -841,7 +841,7 @@ mpdclient_filelist_update(mpdclient_t *c, mpdclient_filelist_t *filelist)
{
gchar *path = g_strdup(filelist->path);
- mpdclient_filelist_free(filelist);
+ filelist_free(filelist);
filelist = mpdclient_filelist_get(c, path);
g_free(path);
return filelist;