diff --git a/libretroshare/src/ft/fttransfermodule.cc b/libretroshare/src/ft/fttransfermodule.cc index 2a73ac186..00b53b09b 100644 --- a/libretroshare/src/ft/fttransfermodule.cc +++ b/libretroshare/src/ft/fttransfermodule.cc @@ -296,6 +296,8 @@ bool ftTransferModule::recvFileData(std::string peerId, uint64_t offset, if (ok) storeData(offset, chunk_size, data); + + free(data) ; return ok; }