]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/font/font.c (grub_font_construct_glyph): Fix memory leak.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 4 May 2013 11:11:57 +0000 (13:11 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 4 May 2013 11:11:57 +0000 (13:11 +0200)
ChangeLog
grub-core/font/font.c

index 8113b6d5fd0446c203b22def202b1c56e2cd3043..a721215c6a735c3f23d9336977657a1227b55aea 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-05-04  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/font/font.c (grub_font_construct_glyph): Fix memory leak.
+
 2013-05-03  Andrey Borzenkov <arvidjaar@gmail.com>
 
        Rename grub-core/tests/checksums.c into grub-core/tests/checksums.h
index fbbb988a5f49fee1f3f55c1abbd6dc41dd5fa944..4758f6c0a3df70235c3c6628a33822f510aa0161 100644 (file)
@@ -1544,6 +1544,8 @@ grub_font_construct_glyph (grub_font_t hinted_font,
 
   blit_comb (glyph_id, glyph, NULL, main_glyph, combining_glyphs, NULL);
 
+  grub_free (combining_glyphs);
+
   return glyph;
 }