mirror of
https://github.com/samba-team/samba.git
synced 2025-11-01 16:23:49 +03:00
r18944: talloc_reference() can fail...
(remove compiler warning) metze
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
142a235f66
commit
515f4eb1ce
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user