aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ladspa/fix-memleak-in-plugin-scanning.patch
blob: bc8ef7c4b3c97b963fb554d0f37e3528e3421131 (plain)
1
2
3
4
5
6
7
8
9
10
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);
     }
   }
 }