aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-08-05 13:52:14 +0100
committerMatthew Wild <mwild1@gmail.com>2009-08-05 13:52:14 +0100
commit1181b101b526a65c3907a80839c72f48993d40bb (patch)
tree47d55a8c856f1bdf628821cb72aaa9152083d2d7 /net
parent57ac5607c12c5bfbd83f4f02e5c6ac2c9ad1e86d (diff)
parent57cef06c8e7bc08b4908b397f18399f6ff250aac (diff)
downloadprosody-1181b101b526a65c3907a80839c72f48993d40bb.tar.gz
prosody-1181b101b526a65c3907a80839c72f48993d40bb.zip
Merge with 0.5
Diffstat (limited to 'net')
-rw-r--r--net/xmppcomponent_listener.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/xmppcomponent_listener.lua b/net/xmppcomponent_listener.lua
index 36d74579..bee05967 100644
--- a/net/xmppcomponent_listener.lua
+++ b/net/xmppcomponent_listener.lua
@@ -167,6 +167,7 @@ function component_listener.disconnect(conn, err)
hosts[session.host].connected = nil;
end
sessions[conn] = nil;
+ for k in pairs(session) do session[k] = nil; end
session = nil;
collectgarbage("collect");
end