1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

s3: Fix Coverity ID 710827 Resource leak

Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Volker Lendecke 2012-07-30 14:41:42 +02:00 committed by Stefan Metzmacher
parent c03e9769cd
commit 2ddc3a280e

View File

@ -1086,6 +1086,7 @@ NTSTATUS check_reduced_name_with_privilege(connection_struct *conn,
if (!NT_STATUS_IS_OK(status)) {
TALLOC_FREE(priv_paths);
}
TALLOC_FREE(dir_name);
return status;
}