Fix typo.
authorGünther Deschner <gd@samba.org>
Tue, 20 May 2008 15:48:39 +0000 (17:48 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 21 May 2008 06:46:51 +0000 (08:46 +0200)
Guenther
(cherry picked from commit d3dd7ea5a77414c0d802668ab5bfbe3487b66926)

source/rpc_server/srv_samr_nt.c

index 42431bd482512987194a9ef74fed726d0ec86b8a..a89e00f1ec97601130cdfd611d94307a88057153 100644 (file)
@@ -1816,7 +1816,7 @@ NTSTATUS _samr_LookupNames(pipes_struct *p,
        NT_STATUS_HAVE_NO_MEMORY(rid);
 
        type = talloc_array(p->mem_ctx, enum lsa_SidType, num_rids);
-       NT_STATUS_HAVE_NO_MEMORY(rid);
+       NT_STATUS_HAVE_NO_MEMORY(type);
 
        DEBUG(5,("_samr_LookupNames: looking name on SID %s\n",
                 sid_string_dbg(&pol_sid)));