diff -u consolekit-0.2.10/debian/changelog consolekit-0.2.10/debian/changelog --- consolekit-0.2.10/debian/changelog +++ consolekit-0.2.10/debian/changelog @@ -1,3 +1,14 @@ +consolekit (0.2.10-1ubuntu10) intrepid-proposed; urgency=low + + * Unref the dbus proxy when finalizing the session object, so that + they are not leaked. (LP: #284229) + - When leaked they would stay in the list of active proxies, which + is iterated over during some proxy operations. This would lead to + a dramatic slowdown and CPU usage spike if a lot of sessions were + created and destroyed. + + -- James Westby Tue, 10 Feb 2009 14:53:11 +0000 + consolekit (0.2.10-1ubuntu9) intrepid; urgency=low * debian/patches/10-file_monitor_remove_watch_crash.patch: diff -u consolekit-0.2.10/debian/patches/series consolekit-0.2.10/debian/patches/series --- consolekit-0.2.10/debian/patches/series +++ consolekit-0.2.10/debian/patches/series @@ -10,0 +11 @@ +11-unref-dbus-proxy.patch only in patch2: unchanged: --- consolekit-0.2.10.orig/debian/patches/11-unref-dbus-proxy.patch +++ consolekit-0.2.10/debian/patches/11-unref-dbus-proxy.patch @@ -0,0 +1,16 @@ +# Unref the dbus proxy when finalizing the session object, so that they are not leaked +# Ubuntu: https://launchpad.net/bugs/284229 +# Upstream: https://bugs.freedesktop.org/show_bug.cgi?id=18330 +Index: consolekit-0.2.10/src/ck-session.c +=================================================================== +--- consolekit-0.2.10.orig/src/ck-session.c 2008-02-12 20:28:57.000000000 +0000 ++++ consolekit-0.2.10/src/ck-session.c 2009-02-10 14:52:50.000000000 +0000 +@@ -1058,6 +1058,8 @@ + + session_remove_activity_watch (session); + ++ g_object_unref (session->priv->bus_proxy); ++ + g_free (session->priv->id); + g_free (session->priv->cookie); + g_free (session->priv->seat_id);