[ML][common] Fix a Coverity issue 92/258492/1
authorPawel Wasowski <p.wasowski2@samsung.com>
Tue, 18 May 2021 14:11:12 +0000 (16:11 +0200)
committerPawel Wasowski <p.wasowski2@samsung.com>
Tue, 18 May 2021 14:11:12 +0000 (16:11 +0200)
commitfa54e38cd6b0e73da6eb06854006f1983e712ec3
tree0f3dd0d5f36ed6cafc533a147c2979f750a60a1b
parent9244388f962253dc19885d88f94ae966938d6bf7
[ML][common] Fix a Coverity issue

Coverity issue numver: 1229783

This commit fixes a potential memory leak.

[Verification] The code compiles (it's hard to provoke the code to enter
the problematic branch, so the new code wasn't executed)

Change-Id: Id560ffdffc18ff6bbf2bc987e8e0ad6853b2cdb6
src/ml/ml_tensors_info_manager.cc