mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
cogl-glyph-cache: fix use of uninitialised value.
While valgrinding gnome-shell I noticed this value was being used uninitialised as the memory is malloced. https://bugzilla.gnome.org/show_bug.cgi?id=671984 Reviewed-by: Robert Bragg <robert@linux.intel.com> Reviewed-by: Neil Roberts <neil@linux.intel.com>
This commit is contained in:
parent
6b4fb268d0
commit
46b1727705
@ -129,6 +129,8 @@ cogl_pango_glyph_cache_new (gboolean use_mipmapping)
|
||||
|
||||
cache->has_dirty_glyphs = FALSE;
|
||||
|
||||
cache->using_global_atlas = FALSE;
|
||||
|
||||
cache->use_mipmapping = use_mipmapping;
|
||||
|
||||
return cache;
|
||||
|
Loading…
Reference in New Issue
Block a user