Browse code

ishield: s/free(hdr)/IS_FREE_HDR/

aCaB authored on 2009/08/21 09:18:35
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Fri Aug 21 02:17:11 CEST 2009 (acab)
2
+------------------------------------
3
+ * libclamav/ishield.c: properly free() header
4
+
1 5
 Fri Aug 21 00:56:03 CEST 2009 (acab)
2 6
 ------------------------------------
3 7
  * build system: upgrade to autoconf 2.64 and automake 1.11 (bb#1528)
... ...
@@ -663,7 +663,7 @@ static int is_parse_hdr(int desc, cli_ctx *ctx, struct IS_CABSTUFF *c) {
663 663
 			    cabret = CL_CLEAN;
664 664
 			}
665 665
 			if(cabret != CL_CLEAN) {
666
-			    free(hdr);
666
+			    IS_FREE_HDR;
667 667
 			    return cabret;
668 668
 			}
669 669
 		    } else {