Remove an unused variable that could be leaked
Plug a memory leak
Plug a possible memory leak
Explicit a valid cast