s3/lib: Fix Access to field results in dereference of NULL pointer
commit96e00a525876ba13250c6428c014d58464fcf5f3
authorNoel Power <noel.power@suse.com>
Wed, 3 Jul 2019 12:45:56 +0000 (3 12:45 +0000)
committerNoel Power <npower@samba.org>
Mon, 8 Jul 2019 09:30:10 +0000 (8 09:30 +0000)
tree91c9741629b8f33dcf26188a67a6d7099e90cd0f
parent17ce70d6d9cb40afc38e41af3f0fd9ed052fb8a2
s3/lib: Fix Access to field results in dereference of NULL pointer

Fixes:

ource3/lib/messages_dgm.c:176:29: warning: Access to field 'queue' results in a dereference of a null pointer (loaded from variable 'out') <--[clang]
        qlen = tevent_queue_length(out->queue);

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
source3/lib/messages_dgm.c