mirror of
https://gitlab.com/hashborgir/plugy.git
synced 2024-11-30 04:26:02 +00:00
Crash when freeing custom libraries
This commit is contained in:
parent
e0472480c4
commit
a44e3be492
@ -231,7 +231,14 @@ void freeCustomLibraries()
|
|||||||
dll->release();
|
dll->release();
|
||||||
freeLibrary(dll->offset);
|
freeLibrary(dll->offset);
|
||||||
nextDll = dll->nextDll;
|
nextDll = dll->nextDll;
|
||||||
D2FogMemDeAlloc(dll,__FILE__,__LINE__,0);
|
if (version_D2Game == V114d)
|
||||||
|
{
|
||||||
|
delete dll;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
D2FogMemDeAlloc(dll, __FILE__, __LINE__, 0);
|
||||||
|
}
|
||||||
dll = nextDll;
|
dll = nextDll;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user