mirror of
https://github.com/samba-team/samba.git
synced 2025-10-31 12:23:52 +03:00
r2247: talloc_destroy -> talloc_free
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
301bb069c3
commit
6c1a72c5d6
@@ -55,7 +55,7 @@ static NTSTATUS samr_Connect(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem
|
||||
/* make sure the sam database is accessible */
|
||||
c_state->sam_ctx = samdb_connect(mem_ctx);
|
||||
if (c_state->sam_ctx == NULL) {
|
||||
talloc_destroy(c_state);
|
||||
talloc_free(c_state);
|
||||
return NT_STATUS_INVALID_SYSTEM_SERVICE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user