PolicyKit/polkitd polkit-session.c,1.3,1.4

David Zeuthen david at kemper.freedesktop.org
Wed Mar 29 08:15:30 PST 2006


Update of /cvs/hal/PolicyKit/polkitd
In directory kemper:/tmp/cvs-serv23719/polkitd

Modified Files:
	polkit-session.c 
Log Message:
2006-03-29  David Zeuthen  <davidz at redhat.com>

        * configure.in: Add docbook detection

        * doc/spec/*: New files

        * polkitd/polkit-session.c (polkit_session_finalize): Free the
        questions to prevent memory leak



Index: polkit-session.c
===================================================================
RCS file: /cvs/hal/PolicyKit/polkitd/polkit-session.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- polkit-session.c	17 Mar 2006 00:21:31 -0000	1.3
+++ polkit-session.c	29 Mar 2006 16:15:28 -0000	1.4
@@ -117,8 +117,8 @@
 
 	g_free (session->priv->auth_denied_reason);
 	if (session->priv->auth_questions != NULL) {
-		//g_slist_foreach (session->priv->auth_questions, (GFunc) g_free, NULL);
-		//g_free (session->priv->auth_questions);
+		g_slist_foreach (session->priv->auth_questions, (GFunc) g_free, NULL);
+		g_slist_free (session->priv->auth_questions);
 	}
 	g_free (session->priv);
 




More information about the hal-commit mailing list