mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +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);
|
||||
} 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);
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
Loading…
Reference in a new issue