contrib/ladspa/fix-memleak-in-plugin-scanning.patch

12 lines
235 B
Diff

--- 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);
}
}
}