Message ID | CALoOobNA8Si_MOjapztD6aE50825MFi1csxzY0w=SZpBLThZ_A@mail.gmail.com |
---|---|
State | New |
Headers | show |
Paul Pluzhnikov <ppluzhnikov@gmail.com> writes: > diff --git a/malloc/mtrace.pl b/malloc/mtrace.pl > index 0737890..4f80429 100644 > --- a/malloc/mtrace.pl > +++ b/malloc/mtrace.pl > @@ -167,7 +167,7 @@ while (<DATA>) { > printf ("+ %#0@XXX@x Alloc %d duplicate: %s %s\n", > hex($allocaddr), $nr, &location($addrwas{$allocaddr}), > $where); > - } else { > + } elsif ($allocaddr != "(nil}") { Can this ever be false? Andreas.
diff --git a/malloc/mtrace.pl b/malloc/mtrace.pl index 0737890..4f80429 100644 --- a/malloc/mtrace.pl +++ b/malloc/mtrace.pl @@ -167,7 +167,7 @@ while (<DATA>) { printf ("+ %#0@XXX@x Alloc %d duplicate: %s %s\n", hex($allocaddr), $nr, &location($addrwas{$allocaddr}), $where); - } else { + } elsif ($allocaddr != "(nil}") { $allocated{$allocaddr}=$howmuch; $addrwas{$allocaddr}=$where; }