[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-6156-g094ec9b

aCaB acab at clamav.net
Sun Apr 4 01:00:31 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit d52b111af60083f8574ff40a8418836e9efc88d2
Author: aCaB <acab at clamav.net>
Date:   Fri Aug 21 02:15:48 2009 +0200

    s/free/fmunmap/

diff --git a/libclamav/ishield.c b/libclamav/ishield.c
index 25cc8b0..f8664fb 100644
--- a/libclamav/ishield.c
+++ b/libclamav/ishield.c
@@ -640,7 +640,7 @@ static int is_parse_hdr(int desc, cli_ctx *ctx, struct IS_CABSTUFF *c) {
 			    cabret = CL_CLEAN;
 			}
 			if(cabret != CL_CLEAN) {
-			    free(hdr);
+			    fmunmap(map);
 			    return cabret;
 			}
 		    } else {

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list