mirror of
https://github.com/samba-team/samba.git
synced 2025-11-28 12:23:49 +03:00
r11962: Bring talloc up to date with Samba4, re-add the
talloc_describe_all() function. Fix smbcontrol <pid> 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 commit is contained in:
committed by
Gerald (Jerry) Carter
parent
abf761c8bf
commit
2e262a75cc
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user