diff --git a/libretroshare/src/gxs/rsgxsnetservice.cc b/libretroshare/src/gxs/rsgxsnetservice.cc index 6590e3043..bdf03ff83 100644 --- a/libretroshare/src/gxs/rsgxsnetservice.cc +++ b/libretroshare/src/gxs/rsgxsnetservice.cc @@ -769,6 +769,7 @@ void RsGxsNetService::generic_sendItem(RsNxsItem *si) ser.serialise(si,mem,&size) ; mGxsNetTunnel->sendTunnelData(mServType,mem,size,static_cast(si->PeerId())); + delete si; } else sendItem(si) ;