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:
csoler 2009-06-11 08:09:08 +00:00
parent 646603d71d
commit 211acc6adf

View File

@ -296,6 +296,8 @@ bool ftTransferModule::recvFileData(std::string peerId, uint64_t offset,
if (ok) if (ok)
storeData(offset, chunk_size, data); storeData(offset, chunk_size, data);
free(data) ;
return ok; return ok;
} }