git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7bf4cb
)
Enable talloc reporting in libnetapi if DEVELOPER compiled.
author
Günther Deschner
<gd@samba.org>
Mon, 7 Jan 2008 21:48:19 +0000
(22:48 +0100)
committer
Günther Deschner
<gd@samba.org>
Mon, 7 Jan 2008 21:57:30 +0000
(22:57 +0100)
Guenther
(This used to be commit
01e9151546a83e0c772a144efa85437ca0c8a307
)
source3/lib/netapi/netapi.c
patch
|
blob
|
history
diff --git
a/source3/lib/netapi/netapi.c
b/source3/lib/netapi/netapi.c
index d5527dc4ff33ed60cc40f3ec87be9fd7e4bf90de..61b51909c97023013f3bc3ec94a71168956ebb2a 100644
(file)
--- a/
source3/lib/netapi/netapi.c
+++ b/
source3/lib/netapi/netapi.c
@@
-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);