Skip to content

Assorted compiler warning cleanups

Alan Coopersmith requested to merge alanc/libxkbfile:warnings into master
  • Fix 4 -Wuseless-cast warnings from gcc 14.1
  • XkbRF_AddVarToDescribe: avoid memory leak if only one of the malloc fails
  • Add _XkbReallocF & _XkbTypedReallocF definitions
  • Use _XkbTypedReallocF to avoid memory leaks when realloc() fails
  • Use _XkbReallocF to avoid memory leaks when realloc() fails

Merge request reports

Loading