- Fix memory leak from r42218 ;0)
authorStefan Ginsberg <stefanginsberg@gmail.com>
Sat, 25 Jul 2009 22:19:45 +0000 (22:19 +0000)
committerStefan Ginsberg <stefanginsberg@gmail.com>
Sat, 25 Jul 2009 22:19:45 +0000 (22:19 +0000)
svn path=/trunk/; revision=42221

reactos/boot/freeldr/freeldr/video/fade.c

index 3f4bbe0..b653ce6 100644 (file)
@@ -90,6 +90,8 @@ VOID VideoFadeIn(PPALETTE_ENTRY Palette, ULONG ColorCount)
                        MachVideoSetPaletteColor(Color, PaletteColors[Color].Red, PaletteColors[Color].Green, PaletteColors[Color].Blue);
                }
        }
+
+       MmHeapFree(PaletteColors);
 }
 
 VOID VideoFadeOut(ULONG ColorCount)