decoder:tensor_region: fix for future expansion.
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 6 Sep 2023 08:30:40 +0000 (17:30 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 11 Oct 2023 07:35:54 +0000 (16:35 +0900)
commitb54da835a738b5e6857c47f7cea19626aa8d7dfe
treef6875b82f386023da3887f9254bde5df314afc87
parentb2c134208ef9cc14e7ebc49c4983ef8f3587ba90
decoder:tensor_region: fix for future expansion.

- Fix a mem leak (tr_exit())
- For future expansion with different mode, prepare exiting previous modes.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
ext/nnstreamer/tensor_decoder/tensordec-tensor_region.c