diff -u consolekit-0.3/debian/changelog consolekit-0.3/debian/changelog --- consolekit-0.3/debian/changelog +++ consolekit-0.3/debian/changelog @@ -1,3 +1,14 @@ +consolekit (0.3-0ubuntu2) jaunty; 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 Mon, 12 Jan 2009 16:09:17 +0000 + consolekit (0.3-0ubuntu1) jaunty; urgency=low * New upstream release: (LP: #273711) diff -u consolekit-0.3/debian/patches/series consolekit-0.3/debian/patches/series --- consolekit-0.3/debian/patches/series +++ consolekit-0.3/debian/patches/series @@ -6,0 +7 @@ +11-unref-dbus-proxy.patch only in patch2: unchanged: --- consolekit-0.3.orig/debian/patches/11-unref-dbus-proxy.patch +++ consolekit-0.3/debian/patches/11-unref-dbus-proxy.patch @@ -0,0 +1,13 @@ +Index: consolekit-0.3/src/ck-session.c +=================================================================== +--- consolekit-0.3.orig/src/ck-session.c 2008-11-23 16:51:26.000000000 +0000 ++++ consolekit-0.3/src/ck-session.c 2008-11-23 16:51:41.000000000 +0000 +@@ -1100,6 +1100,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);