mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-06 13:48:59 -04:00
Fixed memory leak in RsGenExchange::publishGrps.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8458 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
8cc2c921ed
commit
d5b2f7dd02
1 changed files with 1 additions and 0 deletions
|
@ -2313,6 +2313,7 @@ void RsGenExchange::publishGrps()
|
||||||
#ifdef GEN_EXCH_DEBUG
|
#ifdef GEN_EXCH_DEBUG
|
||||||
std::cerr << "RsGenExchange::publishGrps() failed grp, trying again " << std::endl;
|
std::cerr << "RsGenExchange::publishGrps() failed grp, trying again " << std::endl;
|
||||||
#endif
|
#endif
|
||||||
|
delete grp;
|
||||||
ggps.mLastAttemptTS = time(NULL);
|
ggps.mLastAttemptTS = time(NULL);
|
||||||
++vit;
|
++vit;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue