Fix minor coverity-found memory leak