From 8346dd4f6c6d4ee5b38cf343afa7cdc784adb258 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 20 Aug 2001 19:08:55 +0000 Subject: Don't free the returned displayname. * e-shell-startup-wizard.c (finish_func): Don't free the returned displayname. svn path=/trunk/; revision=12318 --- shell/e-shell-startup-wizard.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'shell/e-shell-startup-wizard.c') diff --git a/shell/e-shell-startup-wizard.c b/shell/e-shell-startup-wizard.c index 18b7b59287..3ea14180ab 100644 --- a/shell/e-shell-startup-wizard.c +++ b/shell/e-shell-startup-wizard.c @@ -301,12 +301,10 @@ finish_func (GnomeDruidPage *page, CORBA_exception_init (&ev); e_timezone_dialog_get_timezone (E_TIMEZONE_DIALOG (data->timezone_page->etd), &displayname); - if (displayname == NULL) { + if (displayname == NULL) tz = g_strdup (""); - } else { + else tz = g_strdup (displayname); - g_free (displayname); - } bonobo_config_set_string (data->db, "/Calendar/Display/Timezone", tz, &ev); g_free (tz); -- cgit v1.2.3