summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-09-02 17:48:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:28 -0500
commit2800362e3f8e0d980d689807f348723a88d697af (patch)
treed4cd8d9ea313f8f3211c9239ae18bf022611cc35
parentf9a177772d67a9dad7c34d30dd16d56df9ab8887 (diff)
downloadsamba-2800362e3f8e0d980d689807f348723a88d697af.tar.gz
samba-2800362e3f8e0d980d689807f348723a88d697af.tar.bz2
samba-2800362e3f8e0d980d689807f348723a88d697af.zip
r24902: DEBUG might use talloc_tos() itself...
(This used to be commit 1b39374a173bf6b40426000d010d092e94afc4d7)
-rw-r--r--source3/lib/talloc_stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/talloc_stack.c b/source3/lib/talloc_stack.c
index baebbd4fac..e6e4ed321a 100644
--- a/source3/lib/talloc_stack.c
+++ b/source3/lib/talloc_stack.c
@@ -100,8 +100,8 @@ TALLOC_CTX *talloc_stackframe(void)
TALLOC_CTX *talloc_tos(void)
{
if (talloc_stacksize == 0) {
- DEBUG(0, ("no talloc stackframe around, leaking memory\n"));
talloc_stackframe();
+ DEBUG(0, ("no talloc stackframe around, leaking memory\n"));
}
return talloc_stack[talloc_stacksize-1];