From: Volker Lendecke Date: Tue, 24 Sep 2019 16:24:54 +0000 (-0700) Subject: lib: Fix CID 1453985: Null pointer dereferences (FORWARD_NULL) X-Git-Tag: talloc-2.3.1~520 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b66b8a74b100be85101a7383c634d0d96cf6b0ee;p=thirdparty%2Fsamba.git lib: Fix CID 1453985: Null pointer dereferences (FORWARD_NULL) Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- diff --git a/source3/lib/tallocmsg.c b/source3/lib/tallocmsg.c index 42cbe2d9c02..1e243e77781 100644 --- a/source3/lib/tallocmsg.c +++ b/source3/lib/tallocmsg.c @@ -61,6 +61,7 @@ static void msg_pool_usage_do(struct tevent_req *req) close(rec->fds[0]); TALLOC_FREE(rec); DBG_DEBUG("fdopen failed: %s\n", strerror(errno)); + return; } TALLOC_FREE(rec);