diff --git a/libretroshare/src/services/p3distrib.cc b/libretroshare/src/services/p3distrib.cc index c73c7378a..b4a7fad1c 100644 --- a/libretroshare/src/services/p3distrib.cc +++ b/libretroshare/src/services/p3distrib.cc @@ -3850,6 +3850,8 @@ bool p3GroupDistrib::locked_editGroup(std::string grpId, GroupInfo& gi){ gi_curr->distribGroup->grpFlags |= RS_DISTRIB_UPDATE; delete[] data; + delete serialType; + EVP_MD_CTX_destroy(mdctx); return true; }