summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/smbta-util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/smbta-util.c b/source3/utils/smbta-util.c
index e4f81445bc..cf9097411f 100644
--- a/source3/utils/smbta-util.c
+++ b/source3/utils/smbta-util.c
@@ -83,6 +83,7 @@ static void load_key_from_file(char *filename, char *key)
fclose(keyfile);
exit(1);
}
+ fclose(keyfile);
}
static void create_file_from_key(char *filename)