mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
removed potential mem leak with p3distrib group edit
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4571 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d349204a63
commit
2e9d5663c9
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user