summaryrefslogtreecommitdiff
path: root/src/providers/ldap/sdap_range.c
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2012-05-14 04:11:32 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-05-14 11:25:31 -0400
commit6270c10037cd0b5ea59567aaf423dcb1205e5683 (patch)
treedaa1f299dfa1ee87b9ae87481dbdd06851c721f6 /src/providers/ldap/sdap_range.c
parent65cbece2e1c536b93ad5e7cbea9f20ae3fdf7a08 (diff)
downloadsssd-6270c10037cd0b5ea59567aaf423dcb1205e5683.tar.gz
sssd-6270c10037cd0b5ea59567aaf423dcb1205e5683.tar.bz2
sssd-6270c10037cd0b5ea59567aaf423dcb1205e5683.zip
Fixed two minor memory leaks
Diffstat (limited to 'src/providers/ldap/sdap_range.c')
-rw-r--r--src/providers/ldap/sdap_range.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_range.c b/src/providers/ldap/sdap_range.c
index 295b6605..a26443c8 100644
--- a/src/providers/ldap/sdap_range.c
+++ b/src/providers/ldap/sdap_range.c
@@ -104,7 +104,8 @@ errno_t sdap_parse_range(TALLOC_CTX *mem_ctx,
DEBUG(SSSDBG_TRACE_LIBS,
("[%s] contained the last set of values for this attribute\n",
attr_desc));
- return EOK;
+ ret = EOK;
+ goto done;
}
*range_offset = strtouint32(end_range, &endptr, 10);