diff options
-rw-r--r-- | lib/libpam/modules/pam_radius/pam_radius.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpam/modules/pam_radius/pam_radius.c b/lib/libpam/modules/pam_radius/pam_radius.c index 6a30bab..229e29a 100644 --- a/lib/libpam/modules/pam_radius/pam_radius.c +++ b/lib/libpam/modules/pam_radius/pam_radius.c @@ -203,7 +203,7 @@ do_challenge(pam_handle_t *pamh, struct rad_handle *radh, const char *user) free(resp[num_msgs-1].resp); free(resp); while (num_msgs > 0) - free(__DECONST(char *, msgs[--num_msgs].msg)); + free(msgs[--num_msgs].msg); return (PAM_SUCCESS); } |