summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2019-09-24 09:24:54 -0700
committerRalph Boehme <slow@samba.org>2019-10-02 08:01:40 +0000
commitb66b8a74b100be85101a7383c634d0d96cf6b0ee (patch)
treea3708c91c7cca1670fce75869f1804adc6593f04 /source3/lib
parentf21af2ace2261fb6e4d4762bcd70784135b62ddb (diff)
downloadsamba-b66b8a74b100be85101a7383c634d0d96cf6b0ee.tar.gz
lib: Fix CID 1453985: Null pointer dereferences (FORWARD_NULL)
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/tallocmsg.c1
1 files changed, 1 insertions, 0 deletions
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);