summaryrefslogtreecommitdiff
path: root/extra/ladspa/fix-memleak-in-plugin-scanning.patch
blob: 76cb2e864015264ed8bb46a37123efc53dfa6c5b (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/search.c.orig	2008-11-07 00:38:18.000000000 +0100
+++ src/search.c	2008-11-07 00:50:51.000000000 +0100
@@ -83,6 +83,8 @@
 	dlclose(pcFilename);
 	free(pcFilename);
       }
+    } else {
+      free(pcFilename);
     }
   }
 }