[Convert] Memory Handling Fixed
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 27 Jun 2018 06:30:56 +0000 (15:30 +0900)
committer함명주/동작제어Lab(SR)/Principal Engineer/삼성전자 <myungjoo.ham@samsung.com>
Wed, 27 Jun 2018 11:12:29 +0000 (20:12 +0900)
commitfb00042833bc1a222b73be158d2d7089de13b4a0
treebe21bce07fed4dc79c303b5a3da6fe121ecbc6ca
parent5bcf37621f5bb7d602ac9aabcd55403a046a0e01
[Convert] Memory Handling Fixed

1. Added g_free() to an allocated pointer.
2. Added transform_size() to allow gst framework to allocate
the exact amount needed for output buffer in non-in-place mode.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
gst/tensor_converter/tensor_converter.c