fix deallocation bugs
1 file changed