[PATCH 2/2] d3dxof/tests: Fix a memory leak on error path (Coverity).