aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/GetNrmHint.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/GetNrmHint.c')
-rw-r--r--libX11/src/GetNrmHint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/src/GetNrmHint.c b/libX11/src/GetNrmHint.c
index 5e4143b28..97f04b23b 100644
--- a/libX11/src/GetNrmHint.c
+++ b/libX11/src/GetNrmHint.c
@@ -83,7 +83,7 @@ Status XGetWMSizeHints (
if ((actual_type != XA_WM_SIZE_HINTS) ||
(nitems < OldNumPropSizeElements) || (actual_format != 32)) {
- if (prop != NULL) Xfree (prop);
+ Xfree (prop);
return False;
}