[WIN32K:NTGDI]
authorThomas Faber <thomas.faber@reactos.org>
Thu, 22 Oct 2015 13:48:12 +0000 (13:48 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Thu, 22 Oct 2015 13:48:12 +0000 (13:48 +0000)
- Fix pool leak in failure case of PATH_StrokePath. CID 716633

svn path=/trunk/; revision=69643

reactos/win32ss/gdi/ntgdi/path.c

index 727836d..3bd1d0b 100644 (file)
@@ -1644,6 +1644,7 @@ PATH_StrokePath(
                         if (!Realloc)
                         {
                             DPRINT1("Can't allocate pool!\n");
+                            ExFreePoolWithTag(pBzrPts, TAG_BEZIER);
                             goto end;
                         }