[BUG] Clear stack memory on allocation of stats struct.