diff options
author | Werner Koch <wk@gnupg.org> | 2008-05-27 14:03:50 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2008-05-27 14:03:50 +0200 |
commit | 138bf2dc1552fe8b8a1da6edcbd9fdcb747a73b9 (patch) | |
tree | 2dd4b1c251b4802660287496b4fd688bb4d7e0c5 /agent/w32main.c | |
parent | Minor bug fixes and document new gpg-connect-feature. (diff) | |
download | gnupg2-138bf2dc1552fe8b8a1da6edcbd9fdcb747a73b9.tar.xz gnupg2-138bf2dc1552fe8b8a1da6edcbd9fdcb747a73b9.zip |
Fixed segv in gpg-agent (command marktrusted).
Replaced almost all free by xfree.
Translation fixes.
Diffstat (limited to 'agent/w32main.c')
-rw-r--r-- | agent/w32main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/agent/w32main.c b/agent/w32main.c index bcdf340d5..9fc3abbef 100644 --- a/agent/w32main.c +++ b/agent/w32main.c @@ -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; } |