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