Fix memory leak, found via clang.