[vlc-devel] commit: Fix segfault when closing http interface. (Antoine Cellerier )
git version control
git at videolan.org
Mon Dec 14 23:29:56 CET 2009
vlc | branch: master | Antoine Cellerier <antoine at macbook.(none)> | Mon Dec 14 22:29:34 2009 +0100| [23da1b167917e629d5a25d74aef4371a78d8afd9] | committer: Antoine Cellerier
Fix segfault when closing http interface.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=23da1b167917e629d5a25d74aef4371a78d8afd9
---
share/lua/intf/http.lua | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/share/lua/intf/http.lua b/share/lua/intf/http.lua
index 484ec6a..fc18dcf 100644
--- a/share/lua/intf/http.lua
+++ b/share/lua/intf/http.lua
@@ -279,8 +279,3 @@ load_dir( http_dir )
while not vlc.misc.lock_and_wait() do end -- everything happens in callbacks
--- FIXME: We shouldn't need to do this ourselves.
-for i=1,#files do
- getmetatable(files[i]).__gc(files[i])
- files[i] = nil
-end
More information about the vlc-devel
mailing list