diff options
author | Werner Almesberger <werner@almesberger.net> | 2016-08-30 17:08:38 -0300 |
---|---|---|
committer | Werner Almesberger <werner@almesberger.net> | 2016-08-30 17:08:38 -0300 |
commit | 26b46d9b06eb791dafbd9240c613f81e3995fa18 (patch) | |
tree | c58b3aea4aaf00e2a0c69c298410c2ede55411a2 | |
parent | 08106aa32ae67c2635f776417b016428f3476bd3 (diff) | |
download | eeshow-26b46d9b06eb791dafbd9240c613f81e3995fa18.tar.gz eeshow-26b46d9b06eb791dafbd9240c613f81e3995fa18.tar.bz2 eeshow-26b46d9b06eb791dafbd9240c613f81e3995fa18.zip |
main.c: call cairo_debug_reset_static_data; remove one redundant suppression
-rw-r--r-- | cairo-font.supp | 9 | ||||
-rw-r--r-- | main.c | 3 |
2 files changed, 3 insertions, 9 deletions
diff --git a/cairo-font.supp b/cairo-font.supp index a670cfb..41e2f0f 100644 --- a/cairo-font.supp +++ b/cairo-font.supp @@ -1,13 +1,4 @@ { - <cairo_select_font_face> - Memcheck:Leak - ... - fun:cairo_toy_font_face_create - fun:cairo_select_font_face - ... -} - -{ <cairo_text_extents> Memcheck:Leak ... @@ -18,6 +18,7 @@ #include <string.h> #include <locale.h> +#include <cairo/cairo.h> #include <gtk/gtk.h> #include "misc/util.h" @@ -354,5 +355,7 @@ found: if (pl) pl_free(pl); + cairo_debug_reset_static_data(); + return retval; } |