aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/GetStCmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/GetStCmap.c')
-rw-r--r--libX11/src/GetStCmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/src/GetStCmap.c b/libX11/src/GetStCmap.c
index ac5b0fa88..1cb1e0f01 100644
--- a/libX11/src/GetStCmap.c
+++ b/libX11/src/GetStCmap.c
@@ -81,7 +81,7 @@ Status XGetStandardColormap (
int i;
if (!sp) {
- if (stdcmaps) Xfree (stdcmaps);
+ Xfree (stdcmaps);
return False;
}
vid = sp->root_visual->visualid;