mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-24 04:29:34 -04:00
check active_module before dereferencing
This commit is contained in:
parent
eeed37db4f
commit
a8e90456fb
@ -149,7 +149,7 @@ boolean W_AddPath(const char *path)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result == W_NONE)
|
if (result == W_NONE || !active_module)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user