Fix memory leak

* Fix memory leak like BlackRacoon