diff options
author | Steve French <sfrench@samba.org> | 2005-08-15 23:15:59 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:33:23 -0500 |
commit | 4ed7904b7e6994f8a1e13538529f827ff4c148c9 (patch) | |
tree | 43b248896221fb33ed65d47f9bb4b705a21cfb6e | |
parent | 65ec408473972099f08d3ff0485e5f07244ad94c (diff) | |
download | samba-4ed7904b7e6994f8a1e13538529f827ff4c148c9.tar.gz samba-4ed7904b7e6994f8a1e13538529f827ff4c148c9.tar.bz2 samba-4ed7904b7e6994f8a1e13538529f827ff4c148c9.zip |
r9309: Incorrect null pointer check in return from talloc.
Found by coverity.
(This used to be commit bafd3afbef9b8d3a8baa55d4b31cc62bfeeed459)
-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; |