From 6a0c8fc82b11eda69defa5497aa5385520a0c605 Mon Sep 17 00:00:00 2001 From: Fredrik Thulin Date: Thu, 3 Mar 2011 10:11:16 +0100 Subject: [PATCH] authorize_user_token_ldap: Use correct LDAP free function. Patch by judas.iscariote. --- pam_yubico.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pam_yubico.c b/pam_yubico.c index f7a8fd3..30a2471 100644 --- a/pam_yubico.c +++ b/pam_yubico.c @@ -304,7 +304,7 @@ authorize_user_token_ldap (const char *ldap_uri, retval = 1; } } - ldap_value_free (vals); + ldap_value_free_len (vals); } ldap_memfree (a); }