Coverity 1022132 Resource leak