From: John Darrington Date: Mon, 23 Dec 2013 16:49:21 +0000 (+0100) Subject: src/data/sys-file-encryption.c (encrypted_sys_file_open): fn_open was used to open... X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=048670479471f25de9a7091932b3088131eb8d90;p=pspp src/data/sys-file-encryption.c (encrypted_sys_file_open): fn_open was used to open, so fn_close should be used to close --- 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;