[gimp/gimp-attributes-wip] plug-ins: metainfo: unref attributes



commit 2ffd28e3910cd5bd4aeea14af6ef115b28f5b6be
Author: Hartmut Kuhse <hk_priv gmx de>
Date:   Tue Oct 7 19:47:27 2014 +0200

    plug-ins: metainfo: unref attributes

 plug-ins/metainfo/metainfo.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/metainfo/metainfo.c b/plug-ins/metainfo/metainfo.c
index 55224f4..40b6275 100644
--- a/plug-ins/metainfo/metainfo.c
+++ b/plug-ins/metainfo/metainfo.c
@@ -139,6 +139,7 @@ if (! strcmp (name, EDITOR_PROC))
             {
               g_message (_("General attributes failure."));
             }
+          g_object_unref (attributes);
         }
       else
         status = GIMP_PDB_CALLING_ERROR;


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