Fixed leaks when a connection was closed
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Fri, 20 Oct 2006 01:56:12 +0000 (01:56 +0000)
committerThadeu Lima de Souza Cascardo <cascardo@minaslivre.org>
Fri, 20 Oct 2006 01:56:12 +0000 (01:56 +0000)
commit48c670ca6dbe5a3e8568076780c27158aa5b6f72
treee5b904c45ff60be959c0ad2cf96319c4fcdc661f
parentc29e0a3388be7143951c820d90308d77fb543a12
Fixed leaks when a connection was closed

When one side of the connection was closed, the other side would still
be connected and no memory would be released. To avoid loops,
deadlocks or leaks, the peer reference should be to the hook and not
to the connection/socket only.
jabber.c
jabber_server.c
nethook.h