summaryrefslogtreecommitdiff
path: root/AuDispose.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-07-09 11:00:50 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-07-09 11:01:17 -0700
commit3db78d0fa60e07a4ffda61a19849ad30623f70cf (patch)
tree3e6c07002b81953dbb83ed68c8a1d07a01e4b842 /AuDispose.c
parent7f43a321e59b998e731b36039b744138a2d5b776 (diff)
Remove unnnecessary casts from malloc() and free() calls
These are not needed in C89 and later. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'AuDispose.c')
-rw-r--r--AuDispose.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/AuDispose.c b/AuDispose.c
index b24d21c..791232a 100644
--- a/AuDispose.c
+++ b/AuDispose.c
@@ -45,7 +45,7 @@ XauDisposeAuth (Xauth *auth)
#endif
(void) free (auth->data);
}
- free ((char *) auth);
+ free (auth);
}
return;
}