You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xserver/hw/xfree86/loader
Michel Dänzer 65387391a5 loader: strdup const string assigned to local variable name
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";
      |                  ^
5 years ago
..
Makefile.am loader: Remove *GetOS 8 years ago
loader.c loader: Make LoaderSymbolFromModule take a ModuleDescPtr 5 years ago
loader.h loader: Move LoaderSymbolFromModule() to public API 5 years ago
loaderProcs.h loader: Remove unused path and name from ModuleDescPtr 8 years ago
loadmod.c loader: strdup const string assigned to local variable name 5 years ago
meson.build Add a Meson build system alongside autotools. 8 years ago
symbol-test.c xfree86: build a shared lib identical to Xorg 8 years ago