--- style/qtcurve.c~	2008-03-24 12:20:56.000000000 +0100
+++ style/qtcurve.c	2008-03-24 12:22:04.000000000 +0100
@@ -61,7 +61,7 @@
     setCairoClipping(cr, area, NULL); \
     cairo_set_line_width(cr, 1.0);
 
-#define QTC_CAIRO_END }
+#define QTC_CAIRO_END cairo_destroy(cr); }
 
 /*
  * Disabled, for the moment, due to not working very well...

