r21635: Don't free talloc()'d memory. I wish people would check the callers
authorGerald Carter <jerry@samba.org>
Thu, 1 Mar 2007 18:48:52 +0000 (18:48 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:18:19 +0000 (12:18 -0500)
when changing how memory is allocated.
(This used to be commit 78bf4042dd22bf063846c58729d5b64be3fce8a8)

source3/rpc_server/srv_samr_nt.c

index 7cf75bcd40c162357afa83430822ef1c157e1575..56f2344247751ad307c63105ff459d4c1e9d7706 100644 (file)
@@ -3886,7 +3886,7 @@ NTSTATUS _samr_query_aliasmem(pipes_struct *p, SAMR_Q_QUERY_ALIASMEM *q_u, SAMR_
 
        init_samr_r_query_aliasmem(r_u, num_sids, sid, NT_STATUS_OK);
 
-       SAFE_FREE(sids);
+       TALLOC_FREE(sids);
 
        return NT_STATUS_OK;
 }