diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-07-09 11:00:50 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-07-09 11:01:17 -0700 |
commit | 3db78d0fa60e07a4ffda61a19849ad30623f70cf (patch) | |
tree | 3e6c07002b81953dbb83ed68c8a1d07a01e4b842 /AuRead.c | |
parent | 7f43a321e59b998e731b36039b744138a2d5b776 (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 'AuRead.c')
-rw-r--r-- | AuRead.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -95,7 +95,7 @@ XauReadAuth (FILE *auth_file) free (local.name); return NULL; } - ret = (Xauth *) malloc (sizeof (Xauth)); + ret = malloc (sizeof (Xauth)); if (!ret) { free (local.address); free (local.number); |