aboutsummaryrefslogtreecommitdiff
path: root/tools/ootx_decode/ootx_decode.c
diff options
context:
space:
mode:
authorJosh Allen <axlecrusher@gmail.com>2017-02-12 14:34:29 -0500
committerJosh Allen <axlecrusher@gmail.com>2017-02-12 14:34:29 -0500
commitc2ca44be9f6408351cfe32e855b1472ec155b9b2 (patch)
treeeab2e997efb2d425c07e6782128f941b3f103313 /tools/ootx_decode/ootx_decode.c
parent6ad28759408695a4825738bcc32bc294d1869ca8 (diff)
downloadlibsurvive-c2ca44be9f6408351cfe32e855b1472ec155b9b2.tar.gz
libsurvive-c2ca44be9f6408351cfe32e855b1472ec155b9b2.tar.bz2
free decoder context
Diffstat (limited to 'tools/ootx_decode/ootx_decode.c')
-rw-r--r--tools/ootx_decode/ootx_decode.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/ootx_decode/ootx_decode.c b/tools/ootx_decode/ootx_decode.c
index 9e76d8f..1e93574 100644
--- a/tools/ootx_decode/ootx_decode.c
+++ b/tools/ootx_decode/ootx_decode.c
@@ -197,7 +197,7 @@ void acode_test() {
// if (current_lighthouse==0) {
ootx_accumulate_bit(c_ctx, (acode & 0x02) >> 1);
// }
- }
+ }
}
int main(int argc, char* argv[])
@@ -209,5 +209,8 @@ int main(int argc, char* argv[])
// acode_test();
// hello_world_test();
+ ootx_free_decoder_context(ctx);
+ ootx_free_decoder_context(ctx+1);
+
return 0;
} \ No newline at end of file