Commit 36d4e1ea authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

d3dxof: Fix leaking of IDirectXFileObject object in tests.

parent 67c6234a
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment