applied patch to prevent crashing when libxml DLL doesn't contain some symbols
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
6afafc42fc
commit
7981795a89
@ -121,7 +121,10 @@ static void ReleaseLibxml()
|
||||
{
|
||||
if (gs_libxmlLoaded)
|
||||
{
|
||||
gs_libxmlDLL.xmlCleanupParser();
|
||||
// Check for CleanupParser ..may have failed before initialised
|
||||
// during LOAD_SYMBOL in LoadLibxml()
|
||||
if (gs_libxmlDLL.xmlCleanupParser)
|
||||
gs_libxmlDLL.xmlCleanupParser();
|
||||
wxDllLoader::UnloadLibrary(gs_libxmlDLL.Handle);
|
||||
}
|
||||
gs_libxmlLoaded = FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user