From a77658a33f84c2961fe92bec7576fb581e3c7ad6 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 29 Nov 2005 23:01:39 +0000 Subject: r11962: Bring talloc up to date with Samba4, re-add the talloc_describe_all() function. Fix smbcontrol pool-usage as we desparately need it working in the field to track down memory leaks. Seriously, when new functionality like the Samba4 talloc is added, don't just disable working functionality like "pool-usage", fix the damn thing first ! Jeremy. (This used to be commit 2e262a75cca4575edd00db3d24e7e35760943120) --- source3/utils/smbcontrol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/utils') diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c index a0304eb89a..25b42a58c1 100644 --- a/source3/utils/smbcontrol.c +++ b/source3/utils/smbcontrol.c @@ -508,13 +508,13 @@ static BOOL do_poolusage(const struct process_id pid, return False; } + message_register(MSG_POOL_USAGE, print_string_cb); + /* Send a message and register our interest in a reply */ if (!send_message(pid, MSG_REQ_POOL_USAGE, NULL, 0, False)) return False; - message_register(MSG_POOL_USAGE, print_string_cb); - wait_replies(procid_to_pid(&pid) == 0); /* No replies were received within the timeout period */ -- cgit