args to jq_compile_args were not getting freed when there were errors in the compile
test for losing memory on compile errors
consistent use of goto out in main
Merge branch 'fix_mem_leak_in_compile'
Merge branch 'teardown_on_error'