summarylogtreecommitdiffstats
path: root/0002-fix-memleak-in-plugin-scanning.patch
blob: 3592b4cd674018a51feb33d703e1577ea838d870 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/search.c
+++ b/src/search.c
@@ -83,6 +83,8 @@
 	dlclose(pcFilename);
 	free(pcFilename);
       }
+    } else {
+      free(pcFilename);
     }
   }
 }