in the file include.c function IncludeCleanup(). The pointer IncludeLibList is
not set to NULL at the end of the function.
Then If you execute several script and call the cleanup function after each
call you get a crash.
i sugest to replace this function by
void IncludeCleanup()
{
struct IncludeLibrary *ThisInclude = IncludeLibList;
struct IncludeLibrary *NextInclude;
while (ThisInclude != NULL)
{
NextInclude = ThisInclude->NextLib;
HeapFreeMem(ThisInclude);
ThisInclude = NextInclude;
}
IncludeLibList=NULL; /*My change*/
}
Original issue reported on code.google.com by olivier....@smardtv.com on 19 Aug 2010 at 2:43
Original issue reported on code.google.com by
olivier....@smardtv.com
on 19 Aug 2010 at 2:43