There's a free(name) at the end of the function.
GCC warned about this:
../hw/xfree86/loader/loadmod.c: In function ‘LoadModule’:
../hw/xfree86/loader/loadmod.c:702:18: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
702 | m = name = "int10";
| ^
|
||
|---|---|---|
| .. | ||
| Makefile.am | ||
| loader.c | ||
| loader.h | ||
| loaderProcs.h | ||
| loadmod.c | ||
| meson.build | ||
| symbol-test.c | ||