There's (remote) chance that the (internal) module name could become NULL (eg. allocation failure). Even though chances to hit it are very low, it's still better to have a check here (that doesn't cost us much), just in case. Assert fail is still better than segfault, since we're at least getting some hint what might have happened. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> |
||
---|---|---|
.. | ||
loader.c | ||
loader.h | ||
loaderProcs.h | ||
loadmod.c | ||
meson.build | ||
symbol-test.c |