aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/FetchName.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/FetchName.c')
-rw-r--r--libX11/src/FetchName.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libX11/src/FetchName.c b/libX11/src/FetchName.c
index 8605a6dfc..160eb5bd6 100644
--- a/libX11/src/FetchName.c
+++ b/libX11/src/FetchName.c
@@ -58,7 +58,7 @@ Status XFetchName (
*name = (char *)data;
return(1);
}
- if (data) Xfree (data);
+ Xfree (data);
*name = NULL;
return(0);
}
@@ -89,7 +89,7 @@ Status XGetIconName (
*icon_name = (char*)data;
return(1);
}
- if (data) Xfree (data);
+ Xfree (data);
*icon_name = NULL;
return(0);
}