[refNN] Fix possible memory leak (#1563)
author박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Wed, 19 Sep 2018 06:44:54 +0000 (15:44 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Wed, 19 Sep 2018 06:44:54 +0000 (15:44 +0900)
commitc3e6b768ca39c42d48bdbad5b5488b17aaeb7728
treebb55f8c49b80cf4047bd83cf6a76045931ba874e
parentb19b4a447c9f789c22ca44f3a474c43fb07377ce
[refNN] Fix possible memory leak (#1563)

In the current implementation, allocated event object will be leaked
if startCompute failed.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
contrib/ann/runtimes/ref/src/NeuralNetworks.cpp