aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-06-13 01:44:31 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-06-13 01:44:31 +0800
commit83d8c9cc825775e91b32e262effef3f1a63ec539 (patch)
tree24537459ffaf077918673db0dd9cbf45289f18c3
parent0fb8b75367771bed009160e596c53b790ffacc81 (diff)
downloadgsoc2013-evolution-83d8c9cc825775e91b32e262effef3f1a63ec539.tar
gsoc2013-evolution-83d8c9cc825775e91b32e262effef3f1a63ec539.tar.gz
gsoc2013-evolution-83d8c9cc825775e91b32e262effef3f1a63ec539.tar.bz2
gsoc2013-evolution-83d8c9cc825775e91b32e262effef3f1a63ec539.tar.lz
gsoc2013-evolution-83d8c9cc825775e91b32e262effef3f1a63ec539.tar.xz
gsoc2013-evolution-83d8c9cc825775e91b32e262effef3f1a63ec539.tar.zst
gsoc2013-evolution-83d8c9cc825775e91b32e262effef3f1a63ec539.zip
Free the uri_string once we're done with it.
2002-06-12 Jeffrey Stedfast <fejj@ximian.com> * pcs/cal-factory.c (open_fn): Free the uri_string once we're done with it. svn path=/trunk/; revision=17176
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/pcs/cal-factory.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 96e501405d..e4ecc04b8d 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2002-06-12 Jeffrey Stedfast <fejj@ximian.com>
+
+ * pcs/cal-factory.c (open_fn): Free the uri_string once we're done
+ with it.
+
2002-06-12 Kjartan Maraas <kmaraas@gnome.org>
* gui/dialogs/cal-prefs-dialog.glade: Fix a typo.
diff --git a/calendar/pcs/cal-factory.c b/calendar/pcs/cal-factory.c
index 767e6ec93c..4f79e5d1f3 100644
--- a/calendar/pcs/cal-factory.c
+++ b/calendar/pcs/cal-factory.c
@@ -450,7 +450,9 @@ open_fn (gpointer data)
if (!backend)
backend = open_backend (factory, uri_string, only_if_exists, listener);
-
+
+ g_free (uri_string);
+
if (backend)
add_calendar_client (factory, backend, listener);