[SCM] kiten packaging branch, master, updated. debian/4.11.3-1-12-g01a3300
Maximiliano Curia
maxy at moszumanska.debian.org
Mon Feb 10 15:18:45 UTC 2014
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-sc/kiten.git;a=commitdiff;h=9949975
The following commit has been merged in the master branch:
commit 9949975766ea0f256d3320ade2cf64f3e5a271c6
Author: Maximiliano Curia <maxy at debian.org>
Date: Mon Feb 10 13:36:21 2014 +0100
New patch: kiten_deinflection_search_leaks
---
debian/changelog | 1 +
debian/patches/kiten_deinflection_search_leaks | 37 ++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 39 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 236502d..aa550fe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ kiten (4:4.11.3-2~) UNRELEASED; urgency=low
* Do not disable an empty test set.
* Bump Standards-Version to 3.9.5, no changes needed.
* Add abi-compliance-checker info.
+ * New patch: kiten_deinflection_search_leaks
-- Maximiliano Curia <maxy at debian.org> Tue, 04 Feb 2014 19:02:56 +0100
diff --git a/debian/patches/kiten_deinflection_search_leaks b/debian/patches/kiten_deinflection_search_leaks
new file mode 100644
index 0000000..29a0317
--- /dev/null
+++ b/debian/patches/kiten_deinflection_search_leaks
@@ -0,0 +1,37 @@
+commit 5b5cf8de24231ec1fb8a49178676b28e643e3282
+Author: Maximiliano Curia <maxy at debian.org>
+Date: Mon Feb 10 13:28:27 2014 +0100
+
+ Deinflection::search leaks
+
+diff --git a/lib/DictEdict/deinflection.cpp b/lib/DictEdict/deinflection.cpp
+index 62d0925..2679dd0 100644
+--- a/lib/DictEdict/deinflection.cpp
++++ b/lib/DictEdict/deinflection.cpp
+@@ -98,6 +98,7 @@ EntryList* Deinflection::search( const DictQuery &query, const QVector<QString>
+ matched = true;
+ }
+ }
++ if (! matched) delete entry;
+ }
+
+ EntryList *results = new EntryList();
+@@ -113,6 +114,9 @@ EntryList* Deinflection::search( const DictQuery &query, const QVector<QString>
+
+ if( text.isEmpty() )
+ {
++ entries->deleteAll();
++ delete entries;
++ delete results;
+ return NULL;
+ }
+ }
+@@ -153,7 +157,7 @@ EntryList* Deinflection::search( const DictQuery &query, const QVector<QString>
+ }
+ }
+ }
+-
++ delete entries;
+ return results;
+ }
+
diff --git a/debian/patches/series b/debian/patches/series
index ba161c0..19b0b5c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
enable_debianabimanager.diff
+kiten_deinflection_search_leaks
--
kiten packaging
More information about the pkg-kde-commits
mailing list