summary refs log tree commit diff stats
path: root/plugins/checksum
diff options
context:
space:
mode:
authorRichardHitt <rbh00@netcom.com>2013-01-10 02:14:02 -0800
committerRichardHitt <rbh00@netcom.com>2013-01-10 02:14:02 -0800
commitbf673072e8457b60a5a8c8d0adf53fa3ccb71ea6 (patch)
tree4a4d78d292998d449f04237c779d6d90e38b44ec /plugins/checksum
parentefdfa50f1e711e5bdd3ec98a3dedea422b3da362 (diff)
parent475eb9fcaab1d846a3617f587f22bd77cdeddd5e (diff)
Merge branch 'master' into pull350
Diffstat (limited to 'plugins/checksum')
-rw-r--r--plugins/checksum/checksum.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/checksum/checksum.c b/plugins/checksum/checksum.c
index 3cceeb5f..0524302d 100644
--- a/plugins/checksum/checksum.c
+++ b/plugins/checksum/checksum.c
@@ -105,6 +105,7 @@ sha256_file (char *path, char outputBuffer[65])
 
 	if (!buffer)
 	{
+		fclose (file);
 		return ENOMEM;
 	}