summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--service_passwords.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/service_passwords.c b/service_passwords.c
index a1d8f6d..316cfc7 100644
--- a/service_passwords.c
+++ b/service_passwords.c
@@ -108,12 +108,9 @@ static int dn_contains_uid(const char *dn)
if (rc != 0 || slapi_valueset_count(uid_values) == 0) {
/* empty uid value */
rc = 1;
- goto fail2;
+ goto fail1;
}
-fail2:
- slapi_valueset_free(uid_values);
-
fail1:
slapi_entry_free(entry);