Commit 78851f6a authored by Walter Harms's avatar Walter Harms Committed by Hans de Goede

XFree will accept NULL as argument

since Xfree is a define for free():
  Xlibint.h:#define Xfree(ptr) free((ptr))

Xfree will accept NULL and do nothing.
Signed-off-by: default avatarHans de Goede <>
parent 83adf3d1
......@@ -92,6 +92,7 @@ The
function is a general-purpose Xlib routine that frees the specified data.
You must use it to free any objects that were allocated by Xlib,
unless an alternate function is explicitly specified for the object.
A NULL pointer cannot be passed to this function.
If data is NULL, no operation is performed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment