gnome-system-tools r4120 - trunk/src/users



Author: carlosg
Date: Mon Jan 28 18:40:31 2008
New Revision: 4120
URL: http://svn.gnome.org/viewvc/gnome-system-tools?rev=4120&view=rev

Log:
2008-01-16  Carlos Garnacho  <carlosg gnome org>

        * callbacks.c (on_user_settings_clicked): plug a potential leak.


Modified:
   trunk/src/users/ChangeLog
   trunk/src/users/callbacks.c

Modified: trunk/src/users/callbacks.c
==============================================================================
--- trunk/src/users/callbacks.c	(original)
+++ trunk/src/users/callbacks.c	Mon Jan 28 18:40:31 2008
@@ -338,6 +338,8 @@
 
 				if (gst_polkit_action_authenticate (action))
 					oobs_object_commit (GST_USERS_TOOL (tool)->self_config);
+
+				g_object_unref (action);
 #endif
 			}
 		}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]