mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
Enable talloc reporting in libnetapi if DEVELOPER compiled.
Guenther
(This used to be commit 01e9151546
)
This commit is contained in:
@ -39,6 +39,9 @@ NET_API_STATUS libnetapi_init(struct libnetapi_ctx **context)
|
||||
return NET_API_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
#ifdef DEVELOPER
|
||||
talloc_enable_leak_report();
|
||||
#endif
|
||||
frame = talloc_stackframe();
|
||||
|
||||
ctx = talloc_zero(frame, struct libnetapi_ctx);
|
||||
|
Reference in New Issue
Block a user