diff options
author | Max Kellermann <max@duempel.org> | 2008-09-17 12:29:07 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-17 12:29:07 +0200 |
commit | 75348aad7cbddb9ef736a0ecca9e3ddfb8b75f8d (patch) | |
tree | 5fb6924e98b6882e8a63771578e56c7c156101a4 /src/screen_search.c | |
parent | 9e7dda69f7951f678a1b31d693dba90199d17248 (diff) | |
download | mpd-75348aad7cbddb9ef736a0ecca9e3ddfb8b75f8d.tar.gz mpd-75348aad7cbddb9ef736a0ecca9e3ddfb8b75f8d.tar.xz mpd-75348aad7cbddb9ef736a0ecca9e3ddfb8b75f8d.zip |
make several functions return void
Diffstat (limited to '')
-rw-r--r-- | src/screen_search.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/screen_search.c b/src/screen_search.c index e199bfb2b..ce23b9098 100644 --- a/src/screen_search.c +++ b/src/screen_search.c @@ -181,7 +181,8 @@ search_clear(mpd_unused screen_t *screen, mpdclient_t *c, { if (filelist) { mpdclient_remove_playlist_callback(c, playlist_changed_callback); - filelist = mpdclient_filelist_free(filelist); + mpdclient_filelist_free(filelist); + filelist = NULL; } if (clear_pattern && pattern) { g_free(pattern); @@ -309,7 +310,7 @@ search_advanced_query(char *query, mpdclient_t *c) } if (mpdclient_finish_command(c) && fl) - fl = mpdclient_filelist_free(fl); + mpdclient_filelist_free(fl); fl->updated = TRUE; } @@ -373,7 +374,7 @@ quit(void) if (search_history) string_list_free(search_history); if (filelist) - filelist = mpdclient_filelist_free(filelist); + mpdclient_filelist_free(filelist); list_window_free(lw); if (pattern) { |