summaryrefslogtreecommitdiff
path: root/libcli/named_pipe_auth
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-06-21 16:20:25 +0200
committerStefan Metzmacher <metze@samba.org>2010-06-21 16:20:25 +0200
commiteb3ee7801fec0e06561732aca6012f8a8b4c24ff (patch)
treea4df41b623aa8bac48450c6891bef44693e3170c /libcli/named_pipe_auth
parent67a24fe9333836e4d33c167ea01f2efdc005bacd (diff)
downloadsamba-eb3ee7801fec0e06561732aca6012f8a8b4c24ff.tar.gz
samba-eb3ee7801fec0e06561732aca6012f8a8b4c24ff.tar.bz2
samba-eb3ee7801fec0e06561732aca6012f8a8b4c24ff.zip
libcli/named_pipe_auth: fix error handling in _tstream_npa_connect_recv()
metze
Diffstat (limited to 'libcli/named_pipe_auth')
-rw-r--r--libcli/named_pipe_auth/npa_tstream.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcli/named_pipe_auth/npa_tstream.c b/libcli/named_pipe_auth/npa_tstream.c
index 59d3a97dc0..f6ce951ef0 100644
--- a/libcli/named_pipe_auth/npa_tstream.c
+++ b/libcli/named_pipe_auth/npa_tstream.c
@@ -420,6 +420,8 @@ int _tstream_npa_connect_recv(struct tevent_req *req,
struct tstream_npa,
location);
if (!stream) {
+ *perrno = ENOMEM;
+ tevent_req_received(req);
return -1;
}
ZERO_STRUCTP(npas);