From 6beef589e32d874e5d961e7e6f7b2a68c56538bd Mon Sep 17 00:00:00 2001 From: RichardHitt Date: Wed, 9 Jan 2013 14:37:57 -0800 Subject: Make source cleah with cppcheck, except for mpc and sasl --- plugins/checksum/checksum.c | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/checksum') diff --git a/plugins/checksum/checksum.c b/plugins/checksum/checksum.c index 492367f6..08d62773 100644 --- a/plugins/checksum/checksum.c +++ b/plugins/checksum/checksum.c @@ -108,6 +108,7 @@ sha256_file (char *path, char outputBuffer[65]) if (!buffer) { + fclose (file); return ENOMEM; } -- cgit 1.4.1