fixed double free in openpgpsdk

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8490 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
electron128 2015-06-16 13:47:41 +00:00
parent 26b28a88f9
commit 4b624a6091

View File

@ -769,7 +769,6 @@ ops_keydata_t* ops_rsa_create_selfsigned_keypair(const int numbits, const unsign
|| ops_add_selfsigned_userid_to_keydata(keydata, userid) != ops_true) || ops_add_selfsigned_userid_to_keydata(keydata, userid) != ops_true)
{ {
ops_keydata_free(keydata); ops_keydata_free(keydata);
free(keydata) ;
return NULL; return NULL;
} }