mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +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
436a489e65
commit
cd62d993a3
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