summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWalter Harms <wharms@bfs.de>2019-01-08 22:26:25 +0100
committerWalter Harms <wharms@bfs.de>2019-01-08 22:26:25 +0100
commit12eda76f2c7ff5d43dd68d7ff0ebc29cf27e9897 (patch)
treea3e0a067ecb5d70f49bd657d74f68004ddef1a15 /src
parentbfd021ed1c2b126d3f78a1ffe639e25d11649b02 (diff)
no need to check args for free
Diffstat (limited to 'src')
-rw-r--r--src/Alloc.c2
1 files changed, 1 insertions, 1 deletions
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(