From 83d8c9cc825775e91b32e262effef3f1a63ec539 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 12 Jun 2002 17:44:31 +0000 Subject: Free the uri_string once we're done with it. 2002-06-12 Jeffrey Stedfast * pcs/cal-factory.c (open_fn): Free the uri_string once we're done with it. svn path=/trunk/; revision=17176 --- calendar/ChangeLog | 5 +++++ calendar/pcs/cal-factory.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'calendar') 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 + + * pcs/cal-factory.c (open_fn): Free the uri_string once we're done + with it. + 2002-06-12 Kjartan Maraas * 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); -- cgit v1.2.3