summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/eventlogadm.c2
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;
}