From 2800362e3f8e0d980d689807f348723a88d697af Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 2 Sep 2007 17:48:01 +0000 Subject: r24902: DEBUG might use talloc_tos() itself... (This used to be commit 1b39374a173bf6b40426000d010d092e94afc4d7) --- source3/lib/talloc_stack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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]; -- cgit