diff options
Diffstat (limited to 'libX11/src/InitExt.c')
-rw-r--r-- | libX11/src/InitExt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/src/InitExt.c b/libX11/src/InitExt.c index f50b54984..1d58e879f 100644 --- a/libX11/src/InitExt.c +++ b/libX11/src/InitExt.c @@ -52,7 +52,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; } |