1
0
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:
Günther Deschner
2008-01-07 22:48:19 +01:00
parent f7bf4cb3f1
commit e3ea1e1391

View File

@ -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);