Forward port the change to talloc_init() to make all talloc contexts
[kai/samba.git] / source3 / libsmb / clisecdesc.c
index 0e0884b843c115a64f652bcb706437a5db9ce37c..7dd2747ff6e08b4aae7f258a61c4ba00d9679bcb 100644 (file)
@@ -1,6 +1,5 @@
 /* 
-   Unix SMB/Netbios implementation.
-   Version 3.0
+   Unix SMB/CIFS implementation.
    client security descriptor functions
    Copyright (C) Andrew Tridgell 2000
    
@@ -84,7 +83,7 @@ BOOL cli_set_secdesc(struct cli_state *cli, int fnum, SEC_DESC *sd)
        prs_struct pd;
        BOOL ret = False;
 
-       if ((mem_ctx = talloc_init()) == NULL) {
+       if ((mem_ctx = talloc_init("cli_set_secdesc")) == NULL) {
                DEBUG(0,("talloc_init failed.\n"));
                goto cleanup;
        }