aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/InitExt.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/InitExt.c')
-rw-r--r--nx-X11/lib/X11/InitExt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/X11/InitExt.c b/nx-X11/lib/X11/InitExt.c
index 9e63a9ec2..968f0bb8d 100644
--- a/nx-X11/lib/X11/InitExt.c
+++ b/nx-X11/lib/X11/InitExt.c
@@ -51,7 +51,7 @@ XExtCodes *XInitExtension (
LockDisplay (dpy);
if (! (ext = Xcalloc (1, sizeof (_XExtension))) ||
! (ext->name = strdup(name))) {
- if (ext) Xfree((char *) ext);
+ if (ext) Xfree(ext);
UnlockDisplay(dpy);
return (XExtCodes *) NULL;
}