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