aboutsummaryrefslogtreecommitdiff
path: root/ident
diff options
context:
space:
mode:
Diffstat (limited to 'ident')
-rw-r--r--ident/pam.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ident/pam.c b/ident/pam.c
index b7b9ef4..7302242 100644
--- a/ident/pam.c
+++ b/ident/pam.c
@@ -36,7 +36,8 @@ struct pam_cred
char *s = ptr; \
while (*s) \
*s++ = 0; \
- } while (0)
+ free (ptr); \
+ } while (0)
#ifndef PAM_AUTHTOK_RECOVER_ERR
# define PAM_AUTHTOK_RECOVER_ERR PAM_CONV_ERR

Return to:

Send suggestions and report system problems to the System administrator.