[vlc-commits] lua: dialog: Fix memory leak
Hugo Beauzée-Luyssen
git at videolan.org
Thu Sep 21 18:23:22 CEST 2017
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Sep 21 18:12:56 2017 +0200| [c251c05b4bc6ae7cd77758840682435642879e5a] | committer: Hugo Beauzée-Luyssen
lua: dialog: Fix memory leak
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c251c05b4bc6ae7cd77758840682435642879e5a
---
modules/lua/libs/dialog.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/lua/libs/dialog.c b/modules/lua/libs/dialog.c
index a9c65e7e7b..a4848150b3 100644
--- a/modules/lua/libs/dialog.c
+++ b/modules/lua/libs/dialog.c
@@ -282,6 +282,7 @@ static int vlclua_dialog_delete( lua_State *L )
free( p_value->psz_text );
free( p_value );
}
+ free( p_widget );
}
FOREACH_END()
More information about the vlc-commits
mailing list