diff --git a/src/gui/webtv_setup.cpp b/src/gui/webtv_setup.cpp index 3d9648511..c51519922 100644 --- a/src/gui/webtv_setup.cpp +++ b/src/gui/webtv_setup.cpp @@ -375,10 +375,10 @@ void CWebTVSetup::webchannels_auto() { printf("[CWebTVSetup] skipping: %s\n", webchannel_file); } - free(filelist[count]); } - free(filelist); + free(filelist[count]); } + free(filelist); } } }