Commit 6039d4fc authored by Jeff Muizelaar's avatar Jeff Muizelaar

2006-04-12 Jeff Muizelaar <jeff@infidigm.net>

	* poppler/CairoOutputDev.cc: Fix breakage by krh by only calling
	cairo_destroy on non-null.
parent d839a0bd
2006-04-12 Jeff Muizelaar <jeff@infidigm.net>
* poppler/CairoOutputDev.cc: Fix breakage by krh by only calling
cairo_destroy on non-null.
2006-04-11 Kristian Høgsberg <krh@redhat.com>
* configure.ac:
......
......@@ -65,7 +65,9 @@ CairoOutputDev::~CairoOutputDev() {
delete fontEngine;
}
FT_Done_FreeType(ft_lib);
cairo_destroy (cairo);
if (cairo)
cairo_destroy (cairo);
cairo_pattern_destroy (stroke_pattern);
cairo_pattern_destroy (fill_pattern);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment