2 # From: Ed Beroset <beroset@mindspring.com>
8 if (/realloc\((0x[0-9a-f]+).*\).*returns \((0x[0-9a-f]+)/)
12 print "free before alloc! $_";
15 print "memory leak! $_";
20 elsif (/free\((0x[0-9a-f]+)/)
24 print "free before alloc! $_";
27 elsif (m/returns (0x[0-9a-f]+)/)
30 print "memory leak! $_";
36 foreach $goo (sort keys %mem)
40 print "$mem{$goo} $alloc{$goo}";