Fix pointers leak.
Fix pointers leak.

stevenlovegrove/Pangolin,arpg/Pangolin,renzodenardi/Pangolin,mp3guy/Pangolin,renzodenardi/Pangolin,tschmidt23/Pangolin,mp3guy/Pangolin,wxdzju/Pangolin,tschmidt23/Pangolin,arpg/Pangolin,tschmidt23/Pangolin,stevenlovegrove/Pangolin,stevenlovegrove/Pangolin,wxdzju/Pangolin,randi120/Pangolin,randi120/Pangolin,mp3guy/Pangolin