mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Fixed segv in gpg-agent (command marktrusted).
Replaced almost all free by xfree. Translation fixes.
This commit is contained in:
parent
3d39dc13d0
commit
138bf2dc15
46 changed files with 194 additions and 114 deletions
|
@ -1960,7 +1960,7 @@ ssh_handler_request_identities (ctrl_t ctrl,
|
|||
if (ctrl_fp)
|
||||
fclose (ctrl_fp);
|
||||
|
||||
free (key_directory);
|
||||
xfree (key_directory);
|
||||
xfree (key_path);
|
||||
xfree (buffer);
|
||||
xfree (key_type);
|
||||
|
@ -2430,7 +2430,7 @@ ssh_identity_register (ctrl_t ctrl, gcry_sexp_t key, int ttl)
|
|||
xfree (pi);
|
||||
xfree (buffer);
|
||||
xfree (comment);
|
||||
free (description); /* (asprintf allocated, thus regular free.) */
|
||||
xfree (description);
|
||||
|
||||
return err;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue