Fix memory leak. (bug #124877)
authorPadraig O'Briain <padraig.obriain@sun.com>
Fri, 24 Oct 2003 07:40:32 +0000 (07:40 +0000)
committerPadraig O'Briain <padraigo@src.gnome.org>
Fri, 24 Oct 2003 07:40:32 +0000 (07:40 +0000)
2003-10-24  Padraig O'Briain  <padraig.obriain@sun.com>

* atk/atkrelation.c (atk_relation_new): Fix memory leak. (bug #124877)

ChangeLog
atk/atkrelation.c

index 1f110b2a3927d018e148518459f3c82826cf8802..bca1b2b1dfd4a5e04683f003d2e54b350277d4df 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-10-24  Padraig O'Briain  <padraig.obriain@sun.com>
+
+       * atk/atkrelation.c (atk_relation_new): Fix memory leak. (bug #124877)
+
 2003-10-09  Padraig O'Briain  <padraig.obriain@sun.com>
 
        * ===== Released 1.4.1=====
@@ -8,7 +12,7 @@
 
 2003-09-28  Gediminas Paulauskas  <menesis@delfi.lt>
 
-    * configure.in: Added lt to ALL_LINGUAS.
+       * configure.in: Added lt to ALL_LINGUAS.
 
 2003-09-23  Padraig O'Briain  <padraig.obriain@sun.com>
 
index 7b60660b75bae3f43f75b1e5c9e8c30da58be055..544804b2ad339b8018fae47b08e13ce453de706f 100755 (executable)
@@ -246,6 +246,7 @@ atk_relation_new (AtkObject       **targets,
     g_value_init (value, ATK_TYPE_OBJECT);
     g_value_set_object (value, targets[i]);
     array = g_value_array_append (array, value);
+    g_free (value);
   }
   
   relation =  g_object_new (ATK_TYPE_RELATION,