mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-03-05 21:26:06 -05:00
fixed potential memory leak in pgphandler
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8509 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
72033c0efa
commit
15bb95a398
@ -535,6 +535,7 @@ std::string PGPHandler::makeRadixEncodedPGPKey(const ops_keydata_t *key,bool inc
|
||||
}
|
||||
else
|
||||
{
|
||||
ops_create_info_delete(cinfo);
|
||||
std::cerr << "Unhandled key type " << key->type << std::endl;
|
||||
return "ERROR: Cannot write key. Unhandled key type. " ;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user