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 07ee441ab..ec6c2e295 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 ((char *)data);
+ if ((char *) data != NULL) Xfree (data);
return(NULL);
}