[gegl] gegl: don't leak GeglConfig:application_license on exit
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gegl: don't leak GeglConfig:application_license on exit
- Date: Mon, 6 Oct 2014 17:53:47 +0000 (UTC)
commit b2e511e11072d992902ca939c0ad87be9d792076
Author: Michael Natterer <mitch gimp org>
Date: Mon Oct 6 19:53:17 2014 +0200
gegl: don't leak GeglConfig:application_license on exit
gegl/gegl-config.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gegl/gegl-config.c b/gegl/gegl-config.c
index 58a3a90..5ecc0c1 100644
--- a/gegl/gegl-config.c
+++ b/gegl/gegl-config.c
@@ -164,6 +164,9 @@ gegl_config_finalize (GObject *gobject)
if (config->swap)
g_free (config->swap);
+ if (config->application_license)
+ g_free (config->application_license);
+
G_OBJECT_CLASS (gegl_config_parent_class)->finalize (gobject);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]