[gimp] app: don't leak all buffers in gimp_brush_core_replace_canvas()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: don't leak all buffers in gimp_brush_core_replace_canvas()
- Date: Mon, 7 May 2012 00:47:56 +0000 (UTC)
commit 47c495a8f97b75984276f6132487090dea3698f4
Author: Michael Natterer <mitch gimp org>
Date: Mon May 7 02:47:39 2012 +0200
app: don't leak all buffers in gimp_brush_core_replace_canvas()
app/paint/gimpbrushcore.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/app/paint/gimpbrushcore.c b/app/paint/gimpbrushcore.c
index b5b4165..0492ba0 100644
--- a/app/paint/gimpbrushcore.c
+++ b/app/paint/gimpbrushcore.c
@@ -999,6 +999,8 @@ gimp_brush_core_replace_canvas (GimpBrushCore *core,
brush_opacity,
image_opacity,
mode);
+
+ g_object_unref (paint_mask);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]