summaryrefslogtreecommitdiffstats
path: root/ext/ladspa
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ladspa')
-rw-r--r--ext/ladspa/search.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/ladspa/search.c b/ext/ladspa/search.c
index 0e481a36..2d97ab10 100644
--- a/ext/ladspa/search.c
+++ b/ext/ladspa/search.c
@@ -81,7 +81,7 @@ static void
fCallbackFunction (pcFilename, pvPluginHandle, fDescriptorFunction);
} else {
/* It was a library, but not a LADSPA one. Unload it. */
- dlclose (pcFilename);
+ dlclose (pvPluginHandle);
}
}
free (pcFilename);
@@ -131,6 +131,7 @@ LADSPAPluginSearch (LADSPAPluginSearchCallbackFunction fCallbackFunction)
if (*pcStart == ':')
pcStart++;
}
+ g_free (pcLADSPAPath);
}
/*****************************************************************************/