[gtk+] border-image: Fix leakage



commit 8eb48a876b052eb6aca4e865ca582cd41862450e
Author: Xan Lopez <xlopez igalia com>
Date:   Wed Jun 15 13:45:34 2011 +0200

    border-image: Fix leakage

 gtk/gtkborderimage.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkborderimage.c b/gtk/gtkborderimage.c
index 3f41cdf..4f6ded6 100644
--- a/gtk/gtkborderimage.c
+++ b/gtk/gtkborderimage.c
@@ -483,4 +483,6 @@ _gtk_border_image_render (GtkBorderImage   *image,
           cairo_surface_destroy (slice);
         }
     }
+
+  cairo_surface_destroy (surface);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]