summaryrefslogtreecommitdiff
path: root/source4/libcli/raw
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-04 11:16:07 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-04 11:16:07 +0000
commit41304b3c5791be0a5492844a048784c4ef4acfe9 (patch)
tree117cefc3c6b69d2eb47d9452a7dae01cad7c3886 /source4/libcli/raw
parent485f930088b524d704bed668d4ef118ca2f31bbe (diff)
downloadsamba-41304b3c5791be0a5492844a048784c4ef4acfe9.tar.gz
samba-41304b3c5791be0a5492844a048784c4ef4acfe9.tar.bz2
samba-41304b3c5791be0a5492844a048784c4ef4acfe9.zip
lsa_EnumSids() now works
(This used to be commit 25a8692fede323b53240192e5d349b39fe0b7342)
Diffstat (limited to 'source4/libcli/raw')
-rw-r--r--source4/libcli/raw/rawdcerpc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/libcli/raw/rawdcerpc.c b/source4/libcli/raw/rawdcerpc.c
index 6a3275c7a4..a253e0eb65 100644
--- a/source4/libcli/raw/rawdcerpc.c
+++ b/source4/libcli/raw/rawdcerpc.c
@@ -59,6 +59,9 @@ NTSTATUS dcerpc_pipe_open_smb(struct dcerpc_pipe *p, const char *pipe_name)
io.ntcreatex.in.fname = name;
mem_ctx = talloc_init("torture_rpc_connection");
+ if (!mem_ctx) {
+ return NT_STATUS_NO_MEMORY;
+ }
status = smb_raw_open(p->tree, mem_ctx, &io);
free(name);
talloc_destroy(mem_ctx);