src/data/sys-file-encryption.c (encrypted_sys_file_open): fn_open was used to open... 20131225030517/pspp 20131226030512/pspp
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 23 Dec 2013 16:49:21 +0000 (17:49 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Tue, 24 Dec 2013 18:13:00 +0000 (19:13 +0100)
src/data/sys-file-encryption.c

index fa4e1b9309eee81f5231cc07799bb6f71c1da33e..51e253fbe3574d179251b7cb42942c93ae92b113 100644 (file)
@@ -101,7 +101,7 @@ encrypted_sys_file_open (struct encrypted_sys_file **fp, const char *filename)
 
 error:
   if (f->file)
-    fclose (f->file);
+    fn_close (filename, f->file);
   free (f);
   *fp = NULL;