From 4fc75c755d0b20ba4f4e1c42471a0355fd85990d Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 19 Jan 2011 23:13:47 +0100 Subject: s3-utils: Fixed a resource leak in smbta-util. s3-utils: Fixed a resource leak in smbta-util. --- source3/utils/smbta-util.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3') 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) -- cgit