free message in the kernel log (unless we called portals_do_debug_dumplog()
from portals_exit() or something).
$name = $6;
$size = $7;
$addr = $8;
+
+ # we can't dump the log after portals has exited, so skip "leaks"
+ # from memory freed in the portals module unloading.
+ if ($func eq 'portals_handle_init') {
+ next;
+ }
printf("%8s %6d bytes at %s called %s (%s:%s:%d)\n", $type, $size,
$addr, $name, $file, $func, $lno);
} else {