[FTFD]
authorPierre Schweitzer <pierre@reactos.org>
Sun, 6 Apr 2014 21:35:21 +0000 (21:35 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Sun, 6 Apr 2014 21:35:21 +0000 (21:35 +0000)
Fix memory leak

CID #1102396

svn path=/trunk/; revision=62678

reactos/win32ss/drivers/font/ftfd/font.c

index 36d49bd..fa69a70 100644 (file)
@@ -420,6 +420,7 @@ FtfdQueryFontTree(
     if (!pGlyphSet)
     {
         DbgPrint("EngAllocMem() failed.\n");
+        EngFreeMem(pcp);
         return NULL;
     }