1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02: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

@ -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);