diff options
Diffstat (limited to '')
-rw-r--r-- | kbx/keybox-init.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/kbx/keybox-init.c b/kbx/keybox-init.c index e11c4f09c..6c01b4f3a 100644 --- a/kbx/keybox-init.c +++ b/kbx/keybox-init.c @@ -15,7 +15,8 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, + * USA. */ #include <config.h> @@ -102,6 +103,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); |