summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-09-07 11:07:56 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-04 12:22:55 -0800
commit449fdba5482549361a4cd6376d877ebd5162988a (patch)
tree6f5766ccf782bf67cfb0124e967d5df1c7e1f977
parentb17f93a1d041e63261ff63419796136a26489549 (diff)
SmcCloseConnection: remove unnecessary cast from free()
commit b17f93a1d041e63261ff followed the style of the time it was written, before commit e77dd2e4bc8227 had removed them. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/sm_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sm_client.c b/src/sm_client.c
index 13059ce..3c939b8 100644
--- a/src/sm_client.c
+++ b/src/sm_client.c
@@ -325,7 +325,7 @@ SmcCloseConnection(SmcConn smcConn, int count, char **reasonMsgs)
while (ptr)
{
next = ptr->next;
- free ((char *) ptr);
+ free (ptr);
ptr = next;
}
}