[poppler] poppler/poppler: CairoOutputDev.cc,1.32,1.33
Jeff Muizelaar
jrmuizel at kemper.freedesktop.org
Tue Apr 11 22:46:46 PDT 2006
Update of /cvs/poppler/poppler/poppler
In directory kemper:/tmp/cvs-serv11556/poppler
Modified Files:
CairoOutputDev.cc
Log Message:
2006-04-12 Jeff Muizelaar <jeff at infidigm.net>
* poppler/CairoOutputDev.cc: Fix breakage by krh by only calling
cairo_destroy on non-null.
Index: CairoOutputDev.cc
===================================================================
RCS file: /cvs/poppler/poppler/poppler/CairoOutputDev.cc,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- CairoOutputDev.cc 12 Apr 2006 02:07:07 -0000 1.32
+++ CairoOutputDev.cc 12 Apr 2006 05:46:44 -0000 1.33
@@ -65,7 +65,9 @@
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);
}
More information about the poppler
mailing list