Hello community, here is the log from the commit of package upower for openSUSE:Factory checked in at 2014-08-06 11:42:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/upower (Old) and /work/SRC/openSUSE:Factory/.upower.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "upower" Changes: -------- --- /work/SRC/openSUSE:Factory/upower/upower.changes 2014-01-27 11:24:01.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes 2014-08-06 11:42:16.000000000 +0200 @@ -1,0 +2,5 @@ +Fri Aug 1 20:46:58 UTC 2014 - mgo...@suse.com + +- Add upower-fix-leaks.patch: fix a couple of memory leaks. + +------------------------------------------------------------------- New: ---- upower-fix-leaks.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ upower.spec ++++++ --- /var/tmp/diff_new_pack.Dhkf3G/_old 2014-08-06 11:42:17.000000000 +0200 +++ /var/tmp/diff_new_pack.Dhkf3G/_new 2014-08-06 11:42:17.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package upower # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,6 +27,8 @@ Release: 0 Url: http://upower.freedesktop.org/ Source: http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz + # PATCH-FIX-UPSTREAM upower-fix-leaks.patch mgo...@suse.com -- Fix leaks; taken from upstream. +Patch0: upower-fix-leaks.patch BuildRequires: dbus-1-glib-devel BuildRequires: gobject-introspection-devel >= 0.9.9 BuildRequires: gtk-doc >= 1.11 @@ -95,6 +97,7 @@ %lang_package %prep %setup -q +%patch0 -p1 %build export V=1 ++++++ upower-fix-leaks.patch ++++++ >From dbb9bead6d3b9e70a5d58019b1615d2a6fba5312 Mon Sep 17 00:00:00 2001 From: Bastien Nocera <had...@hadess.net> Date: Tue, 24 Jun 2014 16:34:40 +0200 Subject: [PATCH] linux: Fix small memleak on startup with Logitech devices --- src/linux/up-device-unifying.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/linux/up-device-unifying.c b/src/linux/up-device-unifying.c index b3876e0..1819a8a 100644 --- a/src/linux/up-device-unifying.c +++ b/src/linux/up-device-unifying.c @@ -207,8 +207,8 @@ up_device_unifying_coldplug (UpDevice *device) continue; /* hidraw device which exposes hiddev interface is our receiver */ - tmp = g_build_filename(g_udev_device_get_sysfs_path (g_udev_device_get_parent(native)), - "usbmisc", NULL); + tmp = g_build_filename (g_udev_device_get_sysfs_path (parent), + "usbmisc", NULL); dir = g_dir_open (tmp, 0, &error); g_free(tmp); if (error) { >From b1aeed994884602b3601a7f4b98419c65be9009c Mon Sep 17 00:00:00 2001 From: Bastien Nocera <had...@hadess.net> Date: Tue, 24 Jun 2014 16:45:38 +0200 Subject: [PATCH] daemon: Fix possible UpHistoryItem leak on failure --- src/up-history.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/up-history.c b/src/up-history.c index 795b093..4ed55fc 100644 --- a/src/up-history.c +++ b/src/up-history.c @@ -532,6 +532,8 @@ up_history_array_from_file (GPtrArray *list, const gchar *filename) ret = up_history_item_set_from_string (item, parts[i]); if (ret) g_ptr_array_add (list, item); + else + g_object_unref (item); } out: -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org