1
0
Fork 0
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:
Werner Koch 2008-05-27 12:03:50 +00:00
parent 3d39dc13d0
commit 138bf2dc15
46 changed files with 194 additions and 114 deletions

View file

@ -92,10 +92,10 @@ build_argv (char *cmdline_arg, int reserved)
}
}
argv = malloc (argc * sizeof *argv);
argv = xtrymalloc (argc * sizeof *argv);
if (!argv)
{
free (cmdline);
xfree (cmdline);
return NULL;
}