summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-11-29 15:46:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:15 -0500
commit5893c0215d1c72ea9063b5e609d1c880dea0f1e8 (patch)
treeae8bcd0674ce248303ab7aba0b25cc13a45b5334 /source3/lib
parent4a42371c20dfeb8ad1054a944d7e31c2d32192a5 (diff)
downloadsamba-5893c0215d1c72ea9063b5e609d1c880dea0f1e8.tar.gz
samba-5893c0215d1c72ea9063b5e609d1c880dea0f1e8.tar.bz2
samba-5893c0215d1c72ea9063b5e609d1c880dea0f1e8.zip
r19950: talloc_destroy is replaced these days
(This used to be commit b6bf2e42672cc84e5c3af6f8b15a9d39c408db13)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/sharesec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/lib/sharesec.c b/source3/lib/sharesec.c
index e3216aa459..7a6a425559 100644
--- a/source3/lib/sharesec.c
+++ b/source3/lib/sharesec.c
@@ -179,8 +179,7 @@ BOOL set_share_security(const char *share_name, SEC_DESC *psd)
out:
prs_mem_free(&ps);
- if (mem_ctx)
- talloc_destroy(mem_ctx);
+ TALLOC_FREE(mem_ctx);
return ret;
}