diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-11 22:23:20 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:49:33 +0100 |
commit | 70f1f33af8e6e82506d0ee9ff6cc7e0923a7d0a1 (patch) | |
tree | 8003912164545843cab60521541e5f068708a5d8 /source4/web_server | |
parent | 6f2252dace1629d7b5c5637b103caa28d2c89b07 (diff) | |
download | samba-70f1f33af8e6e82506d0ee9ff6cc7e0923a7d0a1.tar.gz samba-70f1f33af8e6e82506d0ee9ff6cc7e0923a7d0a1.tar.bz2 samba-70f1f33af8e6e82506d0ee9ff6cc7e0923a7d0a1.zip |
r26402: Require a talloc context in libnetif.
(This used to be commit a35e51871bbf1ab33fc316fa59e597b722769c50)
Diffstat (limited to 'source4/web_server')
-rw-r--r-- | source4/web_server/web_server.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/web_server/web_server.c b/source4/web_server/web_server.c index 0fdb0bfb4f..87cab2cc92 100644 --- a/source4/web_server/web_server.c +++ b/source4/web_server/web_server.c @@ -255,7 +255,7 @@ static void websrv_task_init(struct task_server *task) int i; struct interface *ifaces; - load_interfaces(lp_interfaces(task->lp_ctx), &ifaces); + load_interfaces(NULL, lp_interfaces(task->lp_ctx), &ifaces); num_interfaces = iface_count(ifaces); for(i = 0; i < num_interfaces; i++) { @@ -267,6 +267,8 @@ static void websrv_task_init(struct task_server *task) task); if (!NT_STATUS_IS_OK(status)) goto failed; } + + talloc_free(ifaces); } else { status = stream_setup_socket(task->event_ctx, model_ops, &web_stream_ops, |