Fixed Coverity issue CID 1080725: Resource leak (RESOURCE_LEAK), line 841.