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:
parent
b50a587d8d
commit
98f0a18e77
2 changed files with 9 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue