GNUPG-1-9-BRANCH gnupg/kbx (ChangeLog keybox-init.c)
cvs user wk
cvs at cvs.gnupg.org
Tue Dec 7 18:59:25 CET 2004
Date: Tuesday, December 7, 2004 @ 19:07:30
Author: wk
Path: /cvs/gnupg/gnupg/kbx
Tag: GNUPG-1-9-BRANCH
Modified: ChangeLog keybox-init.c
(keybox_release): Close the file pointer.
---------------+
ChangeLog | 4 ++++
keybox-init.c | 5 +++++
2 files changed, 9 insertions(+)
Index: gnupg/kbx/ChangeLog
diff -u gnupg/kbx/ChangeLog:1.15.2.9 gnupg/kbx/ChangeLog:1.15.2.10
--- gnupg/kbx/ChangeLog:1.15.2.9 Thu Dec 2 08:48:08 2004
+++ gnupg/kbx/ChangeLog Tue Dec 7 19:07:30 2004
@@ -1,3 +1,7 @@
+2004-12-07 Werner Koch <wk at g10code.com>
+
+ * keybox-init.c (keybox_release): Close the file pointer.
+
2004-11-26 Werner Koch <wk at g10code.com>
* Makefile.am (kbxutil_LDADD): Add ../common/libcommon.a
Index: gnupg/kbx/keybox-init.c
diff -u gnupg/kbx/keybox-init.c:1.4 gnupg/kbx/keybox-init.c:1.4.2.1
--- gnupg/kbx/keybox-init.c:1.4 Tue Jun 3 21:55:12 2003
+++ gnupg/kbx/keybox-init.c Tue Dec 7 19:07:30 2004
@@ -102,6 +102,11 @@
if (!hd)
return;
_keybox_release_blob (hd->found.blob);
+ if (hd->fp)
+ {
+ fclose (hd->fp);
+ hd->fp = NULL;
+ }
xfree (hd->word_match.name);
xfree (hd->word_match.pattern);
xfree (hd);
More information about the Gnupg-commits
mailing list