aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/main.c4
2 files changed, 4 insertions, 5 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 42f86e5a20..5e3f8a3746 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,7 +1,6 @@
-2006-10-17 Harish Krishnaswamy <kharish@novell.com>
+2006-11-20 Harish Krishnaswamy <kharish@novell.com>
- * main.c: (show_development_warning): Update last
- stable version.
+ * main.c: (main): Fix leak of g_option_context.
2006-10-16 Chris Heath <chris@heathens.co.nz>
diff --git a/shell/main.c b/shell/main.c
index bab8ecb087..b0bc54313c 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -245,7 +245,7 @@ show_development_warning(void)
"\n"
"We hope that you enjoy the results of our hard work, and we\n"
"eagerly await your contributions!\n"),
- "2.8.1");
+ "2.8.0");
label = gtk_label_new (text);
g_free(text);
@@ -522,7 +522,7 @@ main (int argc, char **argv)
GNOME_PARAM_GOPTION_CONTEXT, context,
GNOME_PARAM_HUMAN_READABLE_NAME, _("Evolution"),
NULL);
-
+ g_option_context_free (context);
if (start_online && start_offline) {
fprintf (stderr, _("%s: --online and --offline cannot be used together.\n Use %s --help for more information.\n"),
argv[0], argv[0]);