git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b1e1e2
)
r18944: talloc_reference() can fail...
author
Stefan Metzmacher
<metze@samba.org>
Wed, 27 Sep 2006 06:39:56 +0000
(06:39 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:20:23 +0000
(14:20 -0500)
(remove compiler warning)
metze
(This used to be commit
515f4eb1cef11d8f942aeffc72c9da1bbd4d78cd
)
source4/web_server/web_server.c
patch
|
blob
|
history
diff --git
a/source4/web_server/web_server.c
b/source4/web_server/web_server.c
index 6264b67e0c6629bd74bc42d1694b347c066e6c9f..762806c84f32bd4abacdea8e5dab8aaf37ebbb4c 100644
(file)
--- 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);
}