aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorHiroyuki Ikezoe <poincare@ikezoe.net>2007-08-03 19:53:48 +0800
committerHiroyuki Ikezoe <hiikezoe@src.gnome.org>2007-08-03 19:53:48 +0800
commit3f9cf321728447c8349f514a874e7865ed64786a (patch)
tree978b530c0c0bfb12797257d3c507cbd0fcfe2eeb /plugins
parent93b07314131b6db4e18b30636de8b30c7f3b69b7 (diff)
downloadgsoc2013-evolution-3f9cf321728447c8349f514a874e7865ed64786a.tar.gz
gsoc2013-evolution-3f9cf321728447c8349f514a874e7865ed64786a.tar.zst
gsoc2013-evolution-3f9cf321728447c8349f514a874e7865ed64786a.zip
** Fix for bug #462010
2007-08-03 Hiroyuki Ikezoe <poincare@ikezoe.net> ** Fix for bug #462010 * proxy.c: (proxy_update_tree_view): * proxy-login.c: (proxy_login_update_tree): Plugged memory leak. svn path=/trunk/; revision=33942
Diffstat (limited to 'plugins')
-rw-r--r--plugins/groupwise-features/ChangeLog7
-rw-r--r--plugins/groupwise-features/proxy-login.c5
-rw-r--r--plugins/groupwise-features/proxy.c4
3 files changed, 16 insertions, 0 deletions
diff --git a/plugins/groupwise-features/ChangeLog b/plugins/groupwise-features/ChangeLog
index 157dee5e25..2bf1e3f71e 100644
--- a/plugins/groupwise-features/ChangeLog
+++ b/plugins/groupwise-features/ChangeLog
@@ -1,3 +1,10 @@
+2007-08-03 Hiroyuki Ikezoe <poincare@ikezoe.net>
+
+ ** Fix for bug #462010
+
+ * proxy.c: (proxy_update_tree_view):
+ * proxy-login.c: (proxy_login_update_tree): Plugged memory leak.
+
2007-07-29 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #410287 from Lucky
diff --git a/plugins/groupwise-features/proxy-login.c b/plugins/groupwise-features/proxy-login.c
index bfd21119e6..fe9716eb2a 100644
--- a/plugins/groupwise-features/proxy-login.c
+++ b/plugins/groupwise-features/proxy-login.c
@@ -472,6 +472,11 @@ proxy_login_update_tree (void)
}
gtk_tree_view_set_model (GTK_TREE_VIEW(priv->tree),GTK_TREE_MODEL (priv->store));
}
+
+ g_free (file_name);
+ if (broken_image)
+ g_object_unref (broken_image);
+
g_object_unref (cnc);
}
diff --git a/plugins/groupwise-features/proxy.c b/plugins/groupwise-features/proxy.c
index 3b9dad2755..308d59653c 100644
--- a/plugins/groupwise-features/proxy.c
+++ b/plugins/groupwise-features/proxy.c
@@ -635,6 +635,10 @@ proxy_update_tree_view (EAccount *account)
}
}
+ g_free (file_name);
+ if (broken_image)
+ g_object_unref (broken_image);
+
/*Fixme : Desensitize buttons if the list is Null*/
gtk_tree_view_set_model (GTK_TREE_VIEW(priv->tree), GTK_TREE_MODEL (priv->store));
}