mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-12 09:24:26 -05:00
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:
parent
d3918cd9cf
commit
7abb59bca2
@ -173,6 +173,7 @@ int p3disc::handleIncoming()
|
||||
}
|
||||
else if (NULL != (dta = dynamic_cast<RsDiscHeartbeat *> (item))) {
|
||||
recvHeartbeatMsg(dta);
|
||||
delete item;
|
||||
return 1;
|
||||
}
|
||||
delete item;
|
||||
|
Loading…
Reference in New Issue
Block a user