Fixed memory leak.
Fixed memory leaks.
Fixed memory leaks.
Fixed memory leak.
Fixed double free.
Fixed memory leak.