aboutsummaryrefslogtreecommitdiff
path: root/community/ladspa/fix-memleak-in-plugin-scanning.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/ladspa/fix-memleak-in-plugin-scanning.patch')
-rw-r--r--community/ladspa/fix-memleak-in-plugin-scanning.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/ladspa/fix-memleak-in-plugin-scanning.patch b/community/ladspa/fix-memleak-in-plugin-scanning.patch
new file mode 100644
index 0000000000..bc8ef7c4b3
--- /dev/null
+++ b/community/ladspa/fix-memleak-in-plugin-scanning.patch
@@ -0,0 +1,11 @@
1--- ./search.c.orig 2008-11-07 00:38:18.000000000 +0100
2+++ ./search.c 2008-11-07 00:50:51.000000000 +0100
3@@ -83,6 +83,8 @@
4 dlclose(pcFilename);
5 free(pcFilename);
6 }
7+ } else {
8+ free(pcFilename);
9 }
10 }
11 }