summaryrefslogtreecommitdiff
path: root/pam_tacplus.c
diff options
context:
space:
mode:
authorWalter de Jong <walter@heiho.net>2013-03-28 23:21:43 +0100
committerWalter de Jong <walter@heiho.net>2013-03-28 23:21:43 +0100
commitca77c0cfd6f62e0ac7780b5161bb6c4c49065d9b (patch)
treeac9d1a49fcd7f57e727d90d4f95d31bf82228953 /pam_tacplus.c
parent1119da92c3c47a2cb2a48d494f98ff10a6c32619 (diff)
downloadpam_tacplus-ca77c0cfd6f62e0ac7780b5161bb6c4c49065d9b.tar.gz
pam_tacplus-ca77c0cfd6f62e0ac7780b5161bb6c4c49065d9b.zip
fixes various memory leaks, really
Diffstat (limited to 'pam_tacplus.c')
-rw-r--r--pam_tacplus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pam_tacplus.c b/pam_tacplus.c
index ea2478c..be0c826 100644
--- a/pam_tacplus.c
+++ b/pam_tacplus.c
@@ -445,7 +445,7 @@ int pam_sm_acct_mgmt (pam_handle_t * pamh, int flags,
}
if (ctrl & PAM_TAC_DEBUG)
syslog (LOG_DEBUG, "%s: active server is [%s]", __FUNCTION__,
- tac_ntop(active_server->addr->ai_addr, active_server->addr->ai_addrlen));
+ tac_ntop(active_server->addr->ai_addr));
/* checks for specific data required by TACACS+, which should
be supplied in command line */