Plugged another memory leak.

Found by Coverity (CID 17723).
Plugged another memory leak.

Found by Coverity (CID 17725).