summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-01-19 23:13:47 +0100
committerJeremy Allison <jra@samba.org>2011-01-26 14:20:37 -0800
commit4fc75c755d0b20ba4f4e1c42471a0355fd85990d (patch)
treed10eba0773f21f4b6d6351910400be5c84991d45
parentf419c2b0911788cdd0474bd543ebdbfa52954889 (diff)
downloadsamba-4fc75c755d0b20ba4f4e1c42471a0355fd85990d.tar.gz
samba-4fc75c755d0b20ba4f4e1c42471a0355fd85990d.tar.bz2
samba-4fc75c755d0b20ba4f4e1c42471a0355fd85990d.zip
s3-utils: Fixed a resource leak in smbta-util.
s3-utils: Fixed a resource leak in smbta-util.
-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)