Index: lib/libmemstat/memstat_malloc.c =================================================================== --- lib/libmemstat/memstat_malloc.c +++ lib/libmemstat/memstat_malloc.c @@ -397,6 +397,6 @@ mtp->mt_bytes = mtp->mt_memalloced - mtp->mt_memfreed; mtp->mt_count = mtp->mt_numallocs - mtp->mt_numfrees; } - + free(mts); return (0); }