memleak fix: tensor_split forgot to free things.
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 25 Aug 2023 07:59:01 +0000 (16:59 +0900)
committerwooksong <wook16.song@samsung.com>
Thu, 12 Oct 2023 05:19:00 +0000 (14:19 +0900)
commit3c7ca2bf548e7a94aaca86b98c9292448505a32a
treeda38c5af611e5c0a17538f76d9a8ddc5b5fa3b1b
parent359b0c7d592235d44651b77aef7b0f6678ed3472
memleak fix: tensor_split forgot to free things.

1. split->tensorseg is not freed when overwritten.
2. tensordim pointers are never freed but new-ed frequently.

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