mirror of
https://github.com/reactos/wine.git
synced 2025-04-02 16:12:04 +00:00
gdiplus/tests: Free created iterator in tests.
This commit is contained in:
parent
25260e601c
commit
f9af62e36d
@ -36,8 +36,11 @@ static void test_constructor_destructor(void)
|
||||
/* NULL args */
|
||||
stat = GdipCreatePathIter(NULL, NULL);
|
||||
expect(InvalidParameter, stat);
|
||||
iter = NULL;
|
||||
stat = GdipCreatePathIter(&iter, NULL);
|
||||
expect(Ok, stat);
|
||||
ok(iter != NULL, "Expected iterator to be created\n");
|
||||
GdipDeletePathIter(iter);
|
||||
stat = GdipCreatePathIter(NULL, path);
|
||||
expect(InvalidParameter, stat);
|
||||
stat = GdipDeletePathIter(NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user