From 423762a7319aa38ee0b9e82d98db3d15e9c453a1 Mon Sep 17 00:00:00 2001 From: Mark Skilbeck Date: Wed, 2 Jun 2010 08:08:15 +0000 Subject: [PATCH] Added note about 5.2 and circular references. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@300086 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/cairo/cairosurface/construct.xml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/reference/cairo/cairosurface/construct.xml b/reference/cairo/cairosurface/construct.xml index 46c5e4f813..4625493654 100644 --- a/reference/cairo/cairosurface/construct.xml +++ b/reference/cairo/cairosurface/construct.xml @@ -30,7 +30,18 @@ No return value - + + + &reftitle.notes; + + + If you're using a PHP version before 5.3, you must destroy the CairoContext + associated with a CairoSurface after you destroy the + CairoSurface. Otherwise, you're left with a Circular-reference memory leak. + + + + &reftitle.seealso;