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 75991bd6d..0ff3732bf 100644 --- a/libX11/src/InitExt.c +++ b/libX11/src/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; } |