summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/utils/eventlogadm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/utils/eventlogadm.c b/source/utils/eventlogadm.c
index 278a7e9be88..5424eca496d 100644
--- a/source/utils/eventlogadm.c
+++ b/source/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;
}