mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 06:35:08 -04: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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue