Use `reset()` for unique_ptr freeing (#5420)
author이한종/On-Device Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Fri, 14 Jun 2019 08:09:03 +0000 (17:09 +0900)
committer오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Fri, 14 Jun 2019 08:09:03 +0000 (17:09 +0900)
commitfca3a2fe599aecc3d133503b5a61760011beae2e
tree0beeedfec94926954eb93b16d0d16df7b30fb618
parentc74c8c622d8053133458ca828276ae5939e75d59
Use `reset()` for unique_ptr freeing (#5420)

This commit revises to call `reset()` instead of using keyword
`delete[]` in `MemoryPlanner.h`.

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
runtimes/neurun/backend/cpu/MemoryPlanner.h