Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KOTOR: Plug a leak by using ScopedPtr::reset() instead of release()
Release is for transfering ownership of the pointer. The pointer is not freed. reset() frees the pointer.
- Loading branch information