From 12eda76f2c7ff5d43dd68d7ff0ebc29cf27e9897 Mon Sep 17 00:00:00 2001 From: Walter Harms Date: Tue, 8 Jan 2019 22:26:25 +0100 Subject: no need to check args for free --- src/Alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Alloc.c b/src/Alloc.c index c9ffce8..754881b 100644 --- a/src/Alloc.c +++ b/src/Alloc.c @@ -214,7 +214,7 @@ char *XtCalloc( void XtFree( char *ptr) { - if (ptr != NULL) Xfree(ptr); + free(ptr); } char* __XtMalloc( -- cgit v1.2.3