Commit 970a500f authored by Jeremy Drake's avatar Jeremy Drake Committed by Alexandre Julliard

oleaut32/tests: Fix double GlobalFree in olepicture tests.

parent 1825e371
......@@ -525,8 +525,6 @@ static void test_apm()
ole_expect(IPicture_get_hPal(pict, &handle), E_FAIL);
IPicture_Release(pict);
IStream_Release(stream);
GlobalUnlock(hglob);
GlobalFree(hglob);
}
static void test_metafile(void)
......@@ -545,8 +543,6 @@ static void test_metafile(void)
ole_expect(OleLoadPictureEx(stream, sizeof(metafile), TRUE, &IID_IPicture, 100, 100, 0, (LPVOID *)&pict), E_FAIL);
IStream_Release(stream);
GlobalUnlock(hglob);
GlobalFree(hglob);
}
static void test_enhmetafile(void)
......@@ -584,8 +580,6 @@ static void test_enhmetafile(void)
IPicture_Release(pict);
IStream_Release(stream);
GlobalUnlock(hglob);
GlobalFree(hglob);
}
static void test_Render(void)
......
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