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;