[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] src/data/sys-file-encryption.c (encrypted_sys_file_open): fn_ope
From: |
John Darrington |
Subject: |
[PATCH] src/data/sys-file-encryption.c (encrypted_sys_file_open): fn_open was used to open, so fn_close should be used to close |
Date: |
Tue, 24 Dec 2013 09:53:39 +0100 |
---
src/data/sys-file-encryption.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/data/sys-file-encryption.c b/src/data/sys-file-encryption.c
index fa4e1b9..51e253f 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;
--
1.7.10.4
- PSPP 0.8.2 soon, Ben Pfaff, 2013/12/22
- Re: PSPP 0.8.2 soon, John Darrington, 2013/12/23
- Re: PSPP 0.8.2 soon, John Darrington, 2013/12/23
- Re: PSPP 0.8.2 soon, Ben Pfaff, 2013/12/23
- Re: PSPP 0.8.2 soon, Ben Pfaff, 2013/12/23
- [PATCH] src/data/sys-file-encryption.c (encrypted_sys_file_open):, John Darrington, 2013/12/24
- [PATCH] src/data/sys-file-encryption.c (encrypted_sys_file_open): fn_open was used to open, so fn_close should be used to close,
John Darrington <=
- Re: [PATCH] src/data/sys-file-encryption.c (encrypted_sys_file_open):, Ben Pfaff, 2013/12/24
- Re: PSPP 0.8.2 soon, John Darrington, 2013/12/24
- Re: PSPP 0.8.2 soon, Ben Pfaff, 2013/12/24
- Re: PSPP 0.8.2 soon, Ben Pfaff, 2013/12/24