diff options
author | Tim Potter <tpot@samba.org> | 2004-09-08 00:00:56 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:58:34 -0500 |
commit | 8293df91bcec574fb4a2b290cc11dd83353264ae (patch) | |
tree | 61f9c0a70bec06a0e39ac80e5edab51195da36b6 /source4/libcli/raw/clitree.c | |
parent | 915f2e539d4b2f5f4eb87a1f64f50f3d9a17743a (diff) | |
download | samba-8293df91bcec574fb4a2b290cc11dd83353264ae.tar.gz samba-8293df91bcec574fb4a2b290cc11dd83353264ae.tar.bz2 samba-8293df91bcec574fb4a2b290cc11dd83353264ae.zip |
r2247: talloc_destroy -> talloc_free
(This used to be commit 6c1a72c5d667245b1eec94f58e68acd22dd720ce)
Diffstat (limited to 'source4/libcli/raw/clitree.c')
-rw-r--r-- | source4/libcli/raw/clitree.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/libcli/raw/clitree.c b/source4/libcli/raw/clitree.c index 2d642a9a8c..03a49708b3 100644 --- a/source4/libcli/raw/clitree.c +++ b/source4/libcli/raw/clitree.c @@ -251,7 +251,7 @@ NTSTATUS smbcli_tree_full_connection(struct smbcli_tree **ret_tree, status = smb_raw_session_setup(session, mem_ctx, &setup); if (!NT_STATUS_IS_OK(status)) { smbcli_session_close(session); - talloc_destroy(mem_ctx); + talloc_free(mem_ctx); return status; } @@ -260,7 +260,7 @@ NTSTATUS smbcli_tree_full_connection(struct smbcli_tree **ret_tree, tree = smbcli_tree_init(session); if (!tree) { smbcli_session_close(session); - talloc_destroy(mem_ctx); + talloc_free(mem_ctx); return NT_STATUS_NO_MEMORY; } @@ -284,7 +284,7 @@ NTSTATUS smbcli_tree_full_connection(struct smbcli_tree **ret_tree, if (!NT_STATUS_IS_OK(status)) { smbcli_tree_close(tree); - talloc_destroy(mem_ctx); + talloc_free(mem_ctx); return status; } @@ -296,7 +296,7 @@ NTSTATUS smbcli_tree_full_connection(struct smbcli_tree **ret_tree, tree->fs_type = talloc_strdup(tree, tcon.tconx.out.fs_type); } - talloc_destroy(mem_ctx); + talloc_free(mem_ctx); *ret_tree = tree; return NT_STATUS_OK; |