summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-30 17:08:38 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-30 17:08:38 -0300
commit26b46d9b06eb791dafbd9240c613f81e3995fa18 (patch)
treec58b3aea4aaf00e2a0c69c298410c2ede55411a2
parent08106aa32ae67c2635f776417b016428f3476bd3 (diff)
downloadeeshow-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.supp9
-rw-r--r--main.c3
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
...
diff --git a/main.c b/main.c
index a54bf6c..f337513 100644
--- a/main.c
+++ b/main.c
@@ -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;
}