diff options
Diffstat (limited to 'service_passwords.c')
-rw-r--r-- | service_passwords.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/service_passwords.c b/service_passwords.c index 9943734..71c96f6 100644 --- a/service_passwords.c +++ b/service_passwords.c @@ -68,7 +68,6 @@ static int get_entry(const char *dn, char **attrs, Slapi_Entry **entry) slapi_free_search_results_internal(pb); slapi_pblock_destroy(pb); - pb = NULL; return rc; } @@ -173,7 +172,7 @@ static char* is_service(const char *dn) service = slapi_ch_strdup((*cn)->bv_val); fail2: - ber_bvecfree(cn); + ber_bvecfree(cn); fail1: slapi_entry_free(entry); @@ -231,7 +230,7 @@ static int auth(char *dn, struct berval *credentials) rc |= slapi_pw_find(userPasswords, credentials); fail2: - ber_bvecfree(userPasswords); + ber_bvecfree(userPasswords); fail1: slapi_entry_free(entry); |