mirror of
git://git.gnupg.org/gnupg.git
synced 2025-05-24 16:43:28 +02:00
(keybox_release): Close the file pointer.
This commit is contained in:
parent
b50a587d8d
commit
98f0a18e77
@ -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>
|
2004-11-26 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* Makefile.am (kbxutil_LDADD): Add ../common/libcommon.a
|
* Makefile.am (kbxutil_LDADD): Add ../common/libcommon.a
|
||||||
|
@ -102,6 +102,11 @@ keybox_release (KEYBOX_HANDLE hd)
|
|||||||
if (!hd)
|
if (!hd)
|
||||||
return;
|
return;
|
||||||
_keybox_release_blob (hd->found.blob);
|
_keybox_release_blob (hd->found.blob);
|
||||||
|
if (hd->fp)
|
||||||
|
{
|
||||||
|
fclose (hd->fp);
|
||||||
|
hd->fp = NULL;
|
||||||
|
}
|
||||||
xfree (hd->word_match.name);
|
xfree (hd->word_match.name);
|
||||||
xfree (hd->word_match.pattern);
|
xfree (hd->word_match.pattern);
|
||||||
xfree (hd);
|
xfree (hd);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user