diff options
-rw-r--r-- | source4/web_server/web_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/web_server/web_server.c b/source4/web_server/web_server.c index 6264b67e0c..762806c84f 100644 --- a/source4/web_server/web_server.c +++ b/source4/web_server/web_server.c @@ -122,7 +122,7 @@ static void websrv_recv(struct stream_connection *conn, uint16_t flags) while inside http_process_input(), but we must not destroy the stack variables being used by that rendering process when we handle the timeout. */ - talloc_reference(web->task, web); + if (!talloc_reference(web->task, web)) goto failed; http_process_input(web); talloc_unlink(web->task, web); } |