nautilus r14786 - in trunk: . src
- From: cosimoc svn gnome org
- To: svn-commits-list gnome org
- Subject: nautilus r14786 - in trunk: . src
- Date: Tue, 18 Nov 2008 15:17:32 +0000 (UTC)
Author: cosimoc
Date: Tue Nov 18 15:17:32 2008
New Revision: 14786
URL: http://svn.gnome.org/viewvc/nautilus?rev=14786&view=rev
Log:
2008-11-18 Cosimo Cecchi <cosimoc gnome org>
* src/nautilus-main.c: (main):
* src/nautilus-window-slot.c: (nautilus_window_slot_dispose):
Plug two memory leaks.
Modified:
trunk/ChangeLog
trunk/src/nautilus-main.c
trunk/src/nautilus-window-slot.c
Modified: trunk/src/nautilus-main.c
==============================================================================
--- trunk/src/nautilus-main.c (original)
+++ trunk/src/nautilus-main.c Tue Nov 18 15:17:32 2008
@@ -389,6 +389,8 @@
return 1;
}
+ g_option_context_free (context);
+
if (version) {
g_print ("GNOME nautilus " PACKAGE_VERSION "\n");
return 0;
Modified: trunk/src/nautilus-window-slot.c
==============================================================================
--- trunk/src/nautilus-window-slot.c (original)
+++ trunk/src/nautilus-window-slot.c Tue Nov 18 15:17:32 2008
@@ -617,6 +617,9 @@
g_free (slot->title);
slot->title = NULL;
+ g_free (slot->status_text);
+ slot->status_text = NULL;
+
G_OBJECT_CLASS (parent_class)->dispose (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]