Fix memory leak with sysfs stats table are freed