[gimp/gimp-2-10] app: don't leak curve in gimp_curves_config_save_cruft()
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] app: don't leak curve in gimp_curves_config_save_cruft()
- Date: Fri, 19 Apr 2019 19:30:50 +0000 (UTC)
commit 49f3319f19b3bc5e398fd91e360e60edf33e35be
Author: Ell <ell_se yahoo com>
Date: Fri Apr 19 15:27:30 2019 -0400
app: don't leak curve in gimp_curves_config_save_cruft()
(cherry picked from commit eda8b717d5e94c6ee4879495a87db138c7b40832)
app/operations/gimpcurvesconfig.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/app/operations/gimpcurvesconfig.c b/app/operations/gimpcurvesconfig.c
index 6f5a2ef8b5..42426bcab9 100644
--- a/app/operations/gimpcurvesconfig.c
+++ b/app/operations/gimpcurvesconfig.c
@@ -671,6 +671,8 @@ gimp_curves_config_save_cruft (GimpCurvesConfig *config,
}
g_string_append_printf (string, "\n");
+
+ g_object_unref (curve);
}
if (! g_output_stream_write_all (output, string->str, string->len,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]