[cairo-commit] libsvg-cairo/src svg_cairo.c,1.26,1.27
Carl Worth
commit at pdx.freedesktop.org
Tue May 4 12:02:16 PDT 2004
- Previous message: [cairo-commit] libsvg-cairo ChangeLog,1.37,1.38
- Next message: [cairo-commit] cairo-artwork AUTHORS, 1.1, 1.2 ChangeLog, 1.1,
1.2 NEWS, 1.1, 1.2 README, 1.1, 1.2 cairo-logo.svg, 1.1.1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: cworth
Update of /cvs/cairo/libsvg-cairo/src
In directory pdx:/tmp/cvs-serv4856/src
Modified Files:
svg_cairo.c
Log Message:
* src/svg_cairo.c (_svg_cairo_set_gradient): Call
cairo_pattern_destroy to avoid memory leak.
Index: svg_cairo.c
===================================================================
RCS file: /cvs/cairo/libsvg-cairo/src/svg_cairo.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** a/svg_cairo.c 30 Apr 2004 05:31:24 -0000 1.26
--- b/svg_cairo.c 4 May 2004 19:02:13 -0000 1.27
***************
*** 595,598 ****
--- 595,600 ----
cairo_set_pattern (svg_cairo->cr, pattern);
+ cairo_pattern_destroy (pattern);
+ pattern = NULL;
return SVG_STATUS_SUCCESS;
- Previous message: [cairo-commit] libsvg-cairo ChangeLog,1.37,1.38
- Next message: [cairo-commit] cairo-artwork AUTHORS, 1.1, 1.2 ChangeLog, 1.1,
1.2 NEWS, 1.1, 1.2 README, 1.1, 1.2 cairo-logo.svg, 1.1.1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list