[cairo-commit] cairo ChangeLog,1.967,1.968

Carl Worth commit at pdx.freedesktop.org
Tue Aug 23 14:04:30 PDT 2005


Committed by: cworth

Update of /cvs/cairo/cairo
In directory gabe:/tmp/cvs-serv31249

Modified Files:
	ChangeLog 
Log Message:

2005-08-23  Carl Worth  <cworth at cworth.org>

        Reviewed by: otaylor
        Fixes bug #4198

        * src/cairo-font.c: (cairo_font_face_reference),
        (cairo_font_face_destroy), (cairo_scaled_font_reference),
        (cairo_scaled_font_destroy):
        * src/cairo-pattern.c: (cairo_pattern_reference),
        (cairo_pattern_destroy):
        * src/cairo-surface.c: (cairo_surface_reference),
        (cairo_surface_destroy):
        * src/cairo.c: (cairo_reference), (cairo_destroy):
        Detect (by assert and crash) if users attempt to twice destroy or
        re-reference a destroyed object. The condition for detecting this
        case is a ref_count of 0.


Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo/ChangeLog,v
retrieving revision 1.967
retrieving revision 1.968
diff -u -d -r1.967 -r1.968
--- ChangeLog	23 Aug 2005 20:57:00 -0000	1.967
+++ ChangeLog	23 Aug 2005 21:04:28 -0000	1.968
@@ -1,5 +1,22 @@
 2005-08-23  Carl Worth  <cworth at cworth.org>
 
+	Reviewed by: otaylor
+	Fixes bug #4198
+
+	* src/cairo-font.c: (cairo_font_face_reference),
+	(cairo_font_face_destroy), (cairo_scaled_font_reference),
+	(cairo_scaled_font_destroy):
+	* src/cairo-pattern.c: (cairo_pattern_reference),
+	(cairo_pattern_destroy):
+	* src/cairo-surface.c: (cairo_surface_reference),
+	(cairo_surface_destroy):
+	* src/cairo.c: (cairo_reference), (cairo_destroy):
+	Detect (by assert and crash) if users attempt to twice destroy or
+	re-reference a destroyed object. The condition for detecting this
+ 	case is a ref_count of 0.
+
+2005-08-23  Carl Worth  <cworth at cworth.org>
+
 	* src/cairo.h:
 	* src/cairoint.h: Move CAIRO_CONTENT_VALID and CAIRO_FORMAT_VALID
 	from the public cairo.h to the private cairoint.h where they



More information about the cairo-commit mailing list