1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

libads: Fix 1433611 Resource leak

Not really a memleak due to the passed-in talloc ctx, but this way it's cleaner

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2018-03-28 07:00:34 -05:00 committed by Jeremy Allison
parent 9ecc6f3b52
commit 1b7881ceec

View File

@ -3471,6 +3471,7 @@ out:
if (name != NULL) {
ok = (strlen(name) > 0);
}
TALLOC_FREE(name);
return ok;
}