diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-02-27 09:29:47 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2016-09-23 18:08:21 +0200 |
commit | 4470f01605a2f09b054550ee5a8f8d3b4ebc2098 (patch) | |
tree | 758002cb8f7a8d041c930885dea1dd48326f7f49 /source3/nmbd | |
parent | 60e4bd381a8fc5b74b52e85f111cd5113bd6772b (diff) | |
download | samba-4470f01605a2f09b054550ee5a8f8d3b4ebc2098.tar.gz |
s3:nmbd: fix talloc_zero_array() check in nmbd_packets.c
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Fri Sep 23 18:08:21 CEST 2016 on sn-devel-144
Diffstat (limited to 'source3/nmbd')
-rw-r--r-- | source3/nmbd/nmbd_packets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd_packets.c b/source3/nmbd/nmbd_packets.c index b608354e7b1..c9a2dc757ce 100644 --- a/source3/nmbd/nmbd_packets.c +++ b/source3/nmbd/nmbd_packets.c @@ -1724,7 +1724,7 @@ static bool create_listen_pollfds(struct pollfd **pfds, } attrs = talloc_array(NULL, struct socket_attributes, count); - if (fds == NULL) { + if (attrs == NULL) { DEBUG(1, ("create_listen_pollfds: malloc fail for attrs. " "size %d\n", count)); TALLOC_FREE(fds); |