mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -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
@ -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…
Reference in New Issue
Block a user