Avoid a potential double-free bug.
2 files changed