diff options
Diffstat (limited to 'source4/libnet/domain.c')
-rw-r--r-- | source4/libnet/domain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/domain.c b/source4/libnet/domain.c index cc5d1570f9..94a2412261 100644 --- a/source4/libnet/domain.c +++ b/source4/libnet/domain.c @@ -177,7 +177,7 @@ struct composite_context *libnet_rpc_domain_open_send(struct dcerpc_pipe *p, if (c == NULL) goto failure; s = talloc_zero(c, struct domain_open_state); - if (c == NULL) goto failure; + if (s == NULL) goto failure; c->state = SMBCLI_REQUEST_SEND; c->private = s; |