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:
parent
9ecc6f3b52
commit
1b7881ceec
@ -3471,6 +3471,7 @@ out:
|
||||
if (name != NULL) {
|
||||
ok = (strlen(name) > 0);
|
||||
}
|
||||
TALLOC_FREE(name);
|
||||
return ok;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user