From 590ba32d85840e0cb2848886eba737be12b9109a Mon Sep 17 00:00:00 2001 From: Anthony Jones Date: Thu, 23 Aug 2012 19:50:59 -0400 Subject: [PATCH] Bug 781380 - Fix cairo surface memory leak in DrawTargetCairo::DrawSurfaceWithShadow(). r=roc --- gfx/2d/DrawTargetCairo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gfx/2d/DrawTargetCairo.cpp b/gfx/2d/DrawTargetCairo.cpp index db9d2cad3f5f..10e305007f55 100644 --- a/gfx/2d/DrawTargetCairo.cpp +++ b/gfx/2d/DrawTargetCairo.cpp @@ -466,6 +466,7 @@ DrawTargetCairo::DrawSurfaceWithShadow(SourceSurface *aSurface, cairo_restore(mContext); cairo_pattern_destroy(pat); + cairo_surface_destroy(blursurf); } void