dirmngr/src (b64enc.c)
cvs user wk
cvs at cvs.gnupg.org
Wed Nov 24 17:56:53 CET 2004
Date: Wednesday, November 24, 2004 @ 18:03:40
Author: wk
Path: /cvs/dirmngr/dirmngr/src
Modified: b64enc.c
Use standard malloc
----------+
b64enc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: dirmngr/src/b64enc.c
diff -u dirmngr/src/b64enc.c:1.1 dirmngr/src/b64enc.c:1.2
--- dirmngr/src/b64enc.c:1.1 Tue Nov 23 14:20:44 2004
+++ dirmngr/src/b64enc.c Wed Nov 24 18:03:40 2004
@@ -54,7 +54,7 @@
state->flags |= B64ENC_NO_LINEFEEDS;
else if (title)
{
- state->title = xtrystrdup (title);
+ state->title = strdup (title);
if (!state->title)
return gpg_error_from_errno (errno);
}
@@ -204,7 +204,7 @@
cleanup:
if (state->title)
{
- xfree (state->title);
+ free (state->title);
state->title = NULL;
}
state->fp = NULL;
More information about the Gnupg-commits
mailing list