Fix minor memory leak issues.
1 file changed