From 936f09119a72338abcf5b16e40c59280be47d5a6 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Tue, 19 Jan 2016 01:44:47 +0100 Subject: Code style --- service_passwords.c | 5 ++--- 1 file 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); -- cgit v1.2.3-1-g7c22