mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-08 00:55:13 -04:00
fixed memory leak when receving multi-chunk file lists
This commit is contained in:
parent
5b819ebd7a
commit
a545481daa
2 changed files with 21 additions and 4 deletions
|
@ -205,7 +205,7 @@ class p3FileDatabase: public p3Service, public p3Config, public ftSearch //, pub
|
|||
uint32_t locked_getFriendIndex(const RsPeerId& pid);
|
||||
|
||||
void handleDirSyncRequest (RsFileListsSyncRequestItem *) ;
|
||||
void handleDirSyncResponse (RsFileListsSyncResponseItem *) ;
|
||||
void handleDirSyncResponse (RsFileListsSyncResponseItem *&) ;
|
||||
|
||||
std::map<RsPeerId,uint32_t> mFriendIndexMap ;
|
||||
std::vector<RsPeerId> mFriendIndexTab;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue