From f9314ec1096944dfce69af775755165c4c110f1b Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Fri, 3 Jan 2020 17:25:35 +0100 Subject: [PATCH] fix last commit; webtv_setup fix scandir memleak --- src/gui/webtv_setup.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } } }