d3dxof: Fix leaking of IDirectXFileObject object in tests.

This commit is contained in:
Christian Costa 2012-02-20 23:42:32 +01:00 committed by Alexandre Julliard
parent 67c6234a26
commit 36d4e1ea59

View file

@ -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);