Ported branch commit 2852:

- corrected memory leak in p3disc heart-beat system.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@2854 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2010-05-06 07:38:06 +00:00
parent d3918cd9cf
commit 7abb59bca2

View File

@ -173,6 +173,7 @@ int p3disc::handleIncoming()
} }
else if (NULL != (dta = dynamic_cast<RsDiscHeartbeat *> (item))) { else if (NULL != (dta = dynamic_cast<RsDiscHeartbeat *> (item))) {
recvHeartbeatMsg(dta); recvHeartbeatMsg(dta);
delete item;
return 1; return 1;
} }
delete item; delete item;