diff --git a/tracker-extras.changes b/tracker-extras.changes index ec0aaad..897fabe 100644 --- a/tracker-extras.changes +++ b/tracker-extras.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun May 1 10:49:54 UTC 2016 - zaitor@opensuse.org + +- Add tracker-fix-memory-leak.patch: Fix a memory leak, patch from + upstream git (bgo#765172). + ------------------------------------------------------------------- Mon Mar 21 20:22:43 UTC 2016 - dimstar@opensuse.org diff --git a/tracker-extras.spec b/tracker-extras.spec index 8761fc3..79afa36 100644 --- a/tracker-extras.spec +++ b/tracker-extras.spec @@ -54,6 +54,8 @@ Source0: http://download.gnome.org/sources/tracker/1.8/%{_name}-%{version Source2: README.SUSE.rss # PATCH-FIX-UPSTREAM tracker-extract-private.patch bgo#725689 dimstar@opensuse.org -- Do not maintain LT versioning for private libs Patch0: tracker-extract-private.patch +# PATCH-FIX-UPSTREAM tracker-fix-memory-leak.patch bgo#765172 zaitor@opensuse.org -- Fix a memory leak, patch from upstream git. +Patch1: tracker-fix-memory-leak.patch BuildRequires: NetworkManager-devel >= 0.8 BuildRequires: enca-devel BuildRequires: fdupes @@ -469,6 +471,7 @@ This package contains an nautilus plugin to tag files with Tracker. %prep %setup -q -n %{_name}-%{version} %patch0 -p1 +%patch1 -p1 translation-update-upstream cp %{S:2} src/miners/rss/README.SUSE diff --git a/tracker-fix-memory-leak.patch b/tracker-fix-memory-leak.patch new file mode 100644 index 0000000..b85ba7a --- /dev/null +++ b/tracker-fix-memory-leak.patch @@ -0,0 +1,27 @@ +From 6c0b7831e1574123e9d9f01035d0dc7ea1e1583b Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Timm=20B=C3=A4der?= +Date: Sun, 17 Apr 2016 12:19:39 +0200 +Subject: miner-manager: Plug memory leak + +https://bugzilla.gnome.org/show_bug.cgi?id=765172 +--- + src/libtracker-control/tracker-miner-manager.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/libtracker-control/tracker-miner-manager.c b/src/libtracker-control/tracker-miner-manager.c +index aba5b38..af837b0 100644 +--- a/src/libtracker-control/tracker-miner-manager.c ++++ b/src/libtracker-control/tracker-miner-manager.c +@@ -526,7 +526,9 @@ miner_data_free (MinerData *data) + } + + g_free (data->dbus_path); ++ g_free (data->dbus_name); + g_free (data->display_name); ++ g_free (data->description); + g_slice_free (MinerData, data); + } + +-- +cgit v0.12 + diff --git a/tracker.changes b/tracker.changes index ec0aaad..897fabe 100644 --- a/tracker.changes +++ b/tracker.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun May 1 10:49:54 UTC 2016 - zaitor@opensuse.org + +- Add tracker-fix-memory-leak.patch: Fix a memory leak, patch from + upstream git (bgo#765172). + ------------------------------------------------------------------- Mon Mar 21 20:22:43 UTC 2016 - dimstar@opensuse.org diff --git a/tracker.spec b/tracker.spec index 7ab7cc7..b562ca6 100644 --- a/tracker.spec +++ b/tracker.spec @@ -53,6 +53,8 @@ Source0: http://download.gnome.org/sources/tracker/1.8/%{_name}-%{version Source2: README.SUSE.rss # PATCH-FIX-UPSTREAM tracker-extract-private.patch bgo#725689 dimstar@opensuse.org -- Do not maintain LT versioning for private libs Patch0: tracker-extract-private.patch +# PATCH-FIX-UPSTREAM tracker-fix-memory-leak.patch bgo#765172 zaitor@opensuse.org -- Fix a memory leak, patch from upstream git. +Patch1: tracker-fix-memory-leak.patch BuildRequires: NetworkManager-devel >= 0.8 BuildRequires: enca-devel BuildRequires: fdupes @@ -468,6 +470,7 @@ This package contains an nautilus plugin to tag files with Tracker. %prep %setup -q -n %{_name}-%{version} %patch0 -p1 +%patch1 -p1 translation-update-upstream cp %{S:2} src/miners/rss/README.SUSE