aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/StBytes.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/StBytes.c')
-rw-r--r--libX11/src/StBytes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/src/StBytes.c b/libX11/src/StBytes.c
index ec6c2e295..d8fca17c2 100644
--- a/libX11/src/StBytes.c
+++ b/libX11/src/StBytes.c
@@ -74,7 +74,7 @@ char *XFetchBuffer (
*nbytes = nitems;
return((char *)data);
}
- if ((char *) data != NULL) Xfree (data);
+ Xfree (data);
return(NULL);
}