Fixed a segfault when loading an unloadable module.

parent 10cdcfea
......@@ -2,7 +2,7 @@
* module.cpp: Module management
*-------------------------------------------------------------------------------
* (c)1999-2001 VideoLAN
* $Id: module.cpp,v 1.4 2001/12/05 15:09:39 bozo Exp $
* $Id: module.cpp,v 1.5 2002/03/25 00:34:01 bozo Exp $
*
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
*
......@@ -173,7 +173,6 @@ void C_ModuleManager::BrowseDirectory(const C_String& strDir)
Log(m_hLog, LOG_ERROR, "No module in file \"" + strFullName +
"\" : " + e.Dump());
}
pLib->Unload();
delete pLib;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment