diff options
Diffstat (limited to 'src/screen_file.c')
-rw-r--r-- | src/screen_file.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/screen_file.c b/src/screen_file.c index 16f935242..d40c8edc9 100644 --- a/src/screen_file.c +++ b/src/screen_file.c @@ -232,7 +232,7 @@ change_directory(mpd_unused screen_t *screen, mpdclient_t *c, } else return -1; - filelist = mpdclient_filelist_free(filelist); + mpdclient_filelist_free(filelist); filelist = mpdclient_filelist_get(c, path); sync_highlights(c, filelist); list_window_check_selected(lw, filelist->length); @@ -575,9 +575,9 @@ static void browse_exit(void) { if( filelist ) - filelist = mpdclient_filelist_free(filelist); - lw = list_window_free(lw); - lw_state = list_window_free_state(lw_state); + mpdclient_filelist_free(filelist); + list_window_free(lw); + list_window_free_state(lw_state); } static void |