From 28436897d3289b4fe1b7e84e63c9cffecfcb17f6 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Fri, 26 Nov 2010 12:37:45 +0200 Subject: Fix memory leaks - patch from John. --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 312cb6be..279d91c3 100644 --- a/main.c +++ b/main.c @@ -334,8 +334,8 @@ main(int argc, char **argv) /* copy argv before getopt gets to it; used to restart debugger */ save_argv(argc, argv); - /* initialize context */ - (void) new_context(); + /* initialize global (main) execution context */ + push_context(new_context()); /* option processing. ready, set, go! */ for (optopt = 0, old_optind = 1; -- cgit v1.2.3