From 450ca80b57b4271e31a70c2db0d325a0dd1699d1 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 23 Nov 2007 14:34:13 +0100 Subject: add talloc_stackframe() to eventlogadm MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to Günther Kukkukk for noticing (This used to be commit 9751cc222c70fd669a1cc1ad61ffb4e2e8444019) --- source3/utils/eventlogadm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source3/utils/eventlogadm.c b/source3/utils/eventlogadm.c index 278a7e9be8..5424eca496 100644 --- a/source3/utils/eventlogadm.c +++ b/source3/utils/eventlogadm.c @@ -160,6 +160,7 @@ int main( int argc, char *argv[] ) { int opt, rc; char *exename; + TALLOC_CTX *frame = talloc_stackframe(); fstring opname; @@ -223,5 +224,6 @@ int main( int argc, char *argv[] ) exit( 1 ); break; } + TALLOC_FREE(frame); return rc; } -- cgit