gnome-terminal r3101 - trunk/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-terminal r3101 - trunk/src
- Date: Fri, 26 Sep 2008 19:31:52 +0000 (UTC)
Author: chpe
Date: Fri Sep 26 19:31:52 2008
New Revision: 3101
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=3101&view=rev
Log:
Plug mem leak.
Modified:
trunk/src/terminal.c
Modified: trunk/src/terminal.c
==============================================================================
--- trunk/src/terminal.c (original)
+++ trunk/src/terminal.c Fri Sep 26 19:31:52 2008
@@ -1316,6 +1316,7 @@
/* Incompatible factory version, fall back, to new instance */
g_printerr (_("Incompatible factory version; creating a new instance.\n"));
g_strfreev (env);
+ g_error_free (error);
goto factory_disabled;
}
@@ -1755,8 +1756,9 @@
GOptionContext *context;
GOptionGroup *group;
- context = g_option_context_new (N_("GNOME Terminal Emulator"));
+ context = g_option_context_new (NULL);
g_option_context_set_translation_domain (context, GETTEXT_PACKAGE);
+ g_option_context_set_description (context, N_("GNOME Terminal Emulator"));
group = g_option_group_new ("gnome-terminal",
N_("GNOME Terminal Emulator"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]