[bugfix] invalid read size of freed memory