diff options
author | Volker Lendecke <vl@sernet.de> | 2007-11-23 14:34:13 +0100 |
---|---|---|
committer | Volker Lendecke <vl@sernet.de> | 2007-11-23 14:39:21 +0100 |
commit | 450ca80b57b4271e31a70c2db0d325a0dd1699d1 (patch) | |
tree | 1542aea7f2946ee451613b693310cb909154ffe6 /source3 | |
parent | a0ad3a7d64f66cd086d691e4f27e412300a6d96d (diff) | |
download | samba-450ca80b57b4271e31a70c2db0d325a0dd1699d1.tar.gz samba-450ca80b57b4271e31a70c2db0d325a0dd1699d1.tar.bz2 samba-450ca80b57b4271e31a70c2db0d325a0dd1699d1.zip |
add talloc_stackframe() to eventlogadm
Thanks to Günther Kukkukk for noticing
(This used to be commit 9751cc222c70fd669a1cc1ad61ffb4e2e8444019)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/eventlogadm.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |