[PATCH] d3dxof: Fix leaking of IDirectXFileObject object in tests.
Christian Costa
titan.costa at gmail.com
Mon Feb 20 16:42:32 CST 2012
---
dlls/d3dxof/tests/d3dxof.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/d3dxof/tests/d3dxof.c b/dlls/d3dxof/tests/d3dxof.c
index 95dcd66..c166054 100644
--- a/dlls/d3dxof/tests/d3dxof.c
+++ b/dlls/d3dxof/tests/d3dxof.c
@@ -611,6 +611,7 @@ static void process_data(LPDIRECTXFILEDATA lpDirectXFileData, int* plevel)
printf("Found Binary (%d)\n", j);
IDirectXFileBinary_Release(p3);
}
+ IDirectXFileObject_Release(pChildObj);
}
(*plevel)--;
ok(hr == DXFILE_OK || hr == DXFILEERR_NOMOREOBJECTS, "IDirectXFileData_GetNextObject: %x\n", hr);
More information about the wine-patches
mailing list