mirror of
https://github.com/reactos/wine.git
synced 2025-02-27 08:15:36 +00:00
gdiplus: Fix a memory leak in the tests.
Found by Valgrind.
This commit is contained in:
parent
bdda678803
commit
b18cc9f680
@ -1338,6 +1338,7 @@ static void test_Get_Release_DC(void)
|
||||
GdipDeletePen(pen);
|
||||
GdipDeleteGraphics(graphics);
|
||||
|
||||
GdipDeleteRegion(clip);
|
||||
GdipDeletePath(path);
|
||||
GdipDeleteBrush((GpBrush*)brush);
|
||||
GdipDeleteRegion(region);
|
||||
|
Loading…
x
Reference in New Issue
Block a user