[CodeQuality] release memory when test is failed
authorHyoung Joo Ahn <hello.ahn@samsung.com>
Tue, 30 Mar 2021 08:25:35 +0000 (17:25 +0900)
committerSangjung Woo <again4you@gmail.com>
Tue, 30 Mar 2021 09:48:15 +0000 (18:48 +0900)
commit90c2e0bbbcba7716fa7da5b33243e9cdbcaa0a67
tree2b8012a4f747e2b3bc117f30144b7ee46dc1f2d5
parent791eec4fb935cf255e589ff75f7e25feab02eadc
[CodeQuality] release memory when test is failed

when a test case is finalized with ASSERT, the allocated memory should be freed properly.

Signed-off-by: Hyoung Joo Ahn <hello.ahn@samsung.com>
tests/nnstreamer_plugins/unittest_plugins.cc
tests/nnstreamer_rate/unittest_rate.cc