aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/GetWMCMapW.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/GetWMCMapW.c')
-rw-r--r--libX11/src/GetWMCMapW.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/src/GetWMCMapW.c b/libX11/src/GetWMCMapW.c
index 27f1e232c..d3ef1fea0 100644
--- a/libX11/src/GetWMCMapW.c
+++ b/libX11/src/GetWMCMapW.c
@@ -77,7 +77,7 @@ Status XGetWMColormapWindows (
return False;
if (actual_type != XA_WINDOW || actual_format != 32) {
- if (data) Xfree (data);
+ Xfree (data);
return False;
}