mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 06:35:08 -04:00
suppressed file download memory leak
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1294 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
646603d71d
commit
211acc6adf
1 changed files with 2 additions and 0 deletions
|
@ -296,6 +296,8 @@ bool ftTransferModule::recvFileData(std::string peerId, uint64_t offset,
|
|||
|
||||
if (ok)
|
||||
storeData(offset, chunk_size, data);
|
||||
|
||||
free(data) ;
|
||||
return ok;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue