aboutsummaryrefslogtreecommitdiffstats
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 00000000000..bc8ef7c4b3c
--- /dev/null
+++ b/community/ladspa/fix-memleak-in-plugin-scanning.patch
@@ -0,0 +1,11 @@
+--- ./search.c.orig 2008-11-07 00:38:18.000000000 +0100
++++ ./search.c 2008-11-07 00:50:51.000000000 +0100
+@@ -83,6 +83,8 @@
+ dlclose(pcFilename);
+ free(pcFilename);
+ }
++ } else {
++ free(pcFilename);
+ }
+ }
+ }