[vlc-commits] Lua: Fix memory leak (cid #1100856)
Rémi Duraffort
git at videolan.org
Sun Oct 20 09:29:50 CEST 2013
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Oct 20 09:01:00 2013 +0200| [5f74c08bea7efcab5a623af0fdec698367656fa0] | committer: Rémi Duraffort
Lua: Fix memory leak (cid #1100856)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5f74c08bea7efcab5a623af0fdec698367656fa0
---
modules/lua/libs/net.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/lua/libs/net.c b/modules/lua/libs/net.c
index 9ec74ea..acdaeae 100644
--- a/modules/lua/libs/net.c
+++ b/modules/lua/libs/net.c
@@ -369,6 +369,7 @@ static int vlclua_net_poll( lua_State *L )
i_ret = luaL_error( L, "Interrupted." );
else
i_ret = 1;
+ free( luafds );
free( p_fds );
return i_ret;
More information about the vlc-commits
mailing list