From 1e43a9194554911cc0a2a4b7149058f376bfcb8b Mon Sep 17 00:00:00 2001 From: Ken VanDine Date: Thu, 20 May 2010 08:41:36 -0400 Subject: * debian/patches/child-leakage.patch - Fixes a memory leak (LP: #569273) --- debian/changelog | 7 +++++++ debian/patches/child-leakage.patch | 17 +++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 debian/patches/child-leakage.patch diff --git a/debian/changelog b/debian/changelog index c396da1..a9de6a4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +indicator-application (0.0.19-0ubuntu5) UNRELEASED; urgency=low + + * debian/patches/child-leakage.patch + - Fixes a memory leak (LP: #569273) + + -- Ken VanDine Thu, 20 May 2010 07:35:33 -0400 + indicator-application (0.0.19-0ubuntu4) lucid; urgency=low * bindings/mono/appindicator-sharp-0.1.pc.in: diff --git a/debian/patches/child-leakage.patch b/debian/patches/child-leakage.patch new file mode 100644 index 0000000..35176ff --- /dev/null +++ b/debian/patches/child-leakage.patch @@ -0,0 +1,17 @@ +=== modified file 'src/libappindicator/app-indicator.c' +--- src/libappindicator/app-indicator.c 2010-04-01 20:23:36 +0000 ++++ src/libappindicator/app-indicator.c 2010-05-19 18:23:24 +0000 +@@ -1408,6 +1408,12 @@ + DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, + G_CALLBACK (activate_menuitem), widget); + dbusmenu_menuitem_child_append (root, child); ++ ++ /* Get rid of initial ref now that the root is ++ holding the object */ ++ g_object_unref(child); ++ ++ return; + } + + static void + -- cgit v1.2.3