aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/GetWMProto.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/GetWMProto.c')
-rw-r--r--libX11/src/GetWMProto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/src/GetWMProto.c b/libX11/src/GetWMProto.c
index d8f8bdab4..4e9f12c22 100644
--- a/libX11/src/GetWMProto.c
+++ b/libX11/src/GetWMProto.c
@@ -77,7 +77,7 @@ Status XGetWMProtocols (
return False;
if (actual_type != XA_ATOM || actual_format != 32) {
- if (data) Xfree ((char *) data);
+ if (data) Xfree (data);
return False;
}