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
|
@ -319,7 +319,7 @@ start_pinentry (ctrl_t ctrl)
|
|||
return unlock_pinentry (out_of_core ());
|
||||
rc = assuan_transact (entry_ctx, optstr, NULL, NULL, NULL, NULL, NULL,
|
||||
NULL);
|
||||
free (optstr);
|
||||
xfree (optstr);
|
||||
if (rc)
|
||||
return unlock_pinentry (rc);
|
||||
}
|
||||
|
@ -373,7 +373,7 @@ start_pinentry (ctrl_t ctrl)
|
|||
{
|
||||
assuan_transact (entry_ctx, optstr, NULL, NULL, NULL, NULL, NULL,
|
||||
NULL);
|
||||
free (optstr);
|
||||
xfree (optstr);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue