X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fsys-file-encryption.c;h=51e253fbe3574d179251b7cb42942c93ae92b113;hb=14be690de6bd259d26e710ad5363e106afde1e93;hp=fa4e1b9309eee81f5231cc07799bb6f71c1da33e;hpb=01f35481fe6f80ee35c79bf873bc69af11331217;p=pspp diff --git a/src/data/sys-file-encryption.c b/src/data/sys-file-encryption.c index fa4e1b9309..51e253fbe3 100644 --- a/src/data/sys-file-encryption.c +++ b/src/data/sys-file-encryption.c @@ -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;