diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2010-11-26 12:37:45 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2010-11-26 12:37:45 +0200 |
commit | 28436897d3289b4fe1b7e84e63c9cffecfcb17f6 (patch) | |
tree | 15b68beb5212a1791cb0eb5af633247e54e779e4 /main.c | |
parent | 286748e1a8500f647c3bccfb467b02bf3a37f398 (diff) | |
download | egawk-28436897d3289b4fe1b7e84e63c9cffecfcb17f6.tar.gz egawk-28436897d3289b4fe1b7e84e63c9cffecfcb17f6.tar.bz2 egawk-28436897d3289b4fe1b7e84e63c9cffecfcb17f6.zip |
Fix memory leaks - patch from John.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |