[gegl/wip/rishi/my-patches: 6/7] operations/common/exp-combine: Don't leak the source buffers
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl/wip/rishi/my-patches: 6/7] operations/common/exp-combine: Don't leak the source buffers
- Date: Tue, 21 Nov 2017 17:18:54 +0000 (UTC)
commit 5e99b14751fb8023d3b7608f561aa58ecee34aea
Author: Debarshi Ray <debarshir gnome org>
Date: Tue Nov 21 18:14:47 2017 +0100
operations/common/exp-combine: Don't leak the source buffers
Contrary to its name, gegl_operation_context_get_source returns
"transfer full", not "transfer none".
operations/common/exp-combine.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/operations/common/exp-combine.c b/operations/common/exp-combine.c
index af3ea0d..ef6aa03 100644
--- a/operations/common/exp-combine.c
+++ b/operations/common/exp-combine.c
@@ -990,6 +990,7 @@ gegl_expcombine_get_exposures (GeglOperation *operation,
}
exposures = g_slist_prepend (exposures, e);
+ g_object_unref (buffer);
}
/* Link each exposure's high and low sibling pointers. Simplifies
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]