summaryrefslogtreecommitdiff
path: root/packages/libmrss/files/fix-memleaks.patch
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2007-04-02 07:48:05 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-04-02 07:48:05 +0000
commitd4258603cfbc50096cc09e88e7214820138781b2 (patch)
tree908e5a526e580a9424645464e4c264cfb6a1804f /packages/libmrss/files/fix-memleaks.patch
parentf6886c0f815a0cec5691308d14ccdb53abcdaee6 (diff)
parent2f8dc919dea77f4b321f4f76a2c8059a6f94fba7 (diff)
merge of '131aca0c8651e56bac39f5f02b88e33abc133b07'
and 'f5edc19dd1057109ae156f97cd6387f3a74993fe'
Diffstat (limited to 'packages/libmrss/files/fix-memleaks.patch')
-rw-r--r--packages/libmrss/files/fix-memleaks.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/libmrss/files/fix-memleaks.patch b/packages/libmrss/files/fix-memleaks.patch
new file mode 100644
index 0000000000..c88570c72e
--- /dev/null
+++ b/packages/libmrss/files/fix-memleaks.patch
@@ -0,0 +1,17 @@
+Index: libmrss-0.17/src/mrss_parser.c
+===================================================================
+--- libmrss-0.17.orig/src/mrss_parser.c 2007-04-01 22:23:22.000000000 +0200
++++ libmrss-0.17/src/mrss_parser.c 2007-04-01 22:23:42.000000000 +0200
+@@ -186,10 +186,10 @@
+ cat->allocated = 1;
+ cat->category = c;
+
+- if (!(c = nxmle_find_attribute (cur, "scheme", NULL)))
++ if (c = nxmle_find_attribute (cur, "scheme", NULL))
+ cat->domain = c;
+
+- if (!(c = nxmle_find_attribute (cur, "label", NULL)))
++ if (c = nxmle_find_attribute (cur, "label", NULL))
+ cat->label = c;
+
+ if (!*category)