1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

(keybox_release): Close the file pointer.

This commit is contained in:
Werner Koch 2004-12-07 18:07:30 +00:00
parent b50a587d8d
commit 98f0a18e77
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2004-12-07 Werner Koch <wk@g10code.com>
* keybox-init.c (keybox_release): Close the file pointer.
2004-11-26 Werner Koch <wk@g10code.com>
* Makefile.am (kbxutil_LDADD): Add ../common/libcommon.a

View File

@ -102,6 +102,11 @@ keybox_release (KEYBOX_HANDLE hd)
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);