6 if (/realloc\((0x[0-9a-f]+).*\).*returns \((0x[0-9a-f]+)/)
10 print "free before alloc! $_";
13 print "memory leak! $_";
18 elsif (/free\((0x[0-9a-f]+)/)
22 print "free before alloc! $_";
25 elsif (m/returns (0x[0-9a-f]+)/)
28 print "memory leak! $_";
34 foreach $goo (sort keys %mem)
38 print "$mem{$goo} $alloc{$goo}";
41 # From: Ed Beroset <beroset@mindspring.com>