mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
fixed seg-fault and mem leak
Original commit message from CVS: fixed seg-fault and mem leak
This commit is contained in:
parent
5638dbb982
commit
3d1a483151
1 changed files with 2 additions and 1 deletions
|
@ -81,7 +81,7 @@ static void
|
||||||
fCallbackFunction (pcFilename, pvPluginHandle, fDescriptorFunction);
|
fCallbackFunction (pcFilename, pvPluginHandle, fDescriptorFunction);
|
||||||
} else {
|
} else {
|
||||||
/* It was a library, but not a LADSPA one. Unload it. */
|
/* It was a library, but not a LADSPA one. Unload it. */
|
||||||
dlclose (pcFilename);
|
dlclose (pvPluginHandle);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
free (pcFilename);
|
free (pcFilename);
|
||||||
|
@ -131,6 +131,7 @@ LADSPAPluginSearch (LADSPAPluginSearchCallbackFunction fCallbackFunction)
|
||||||
if (*pcStart == ':')
|
if (*pcStart == ':')
|
||||||
pcStart++;
|
pcStart++;
|
||||||
}
|
}
|
||||||
|
g_free (pcLADSPAPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
Loading…
Reference in a new issue