Unallocate provisioned resources in destructor 61/33761/5
authorMateusz Malicki <m.malicki2@samsung.com>
Wed, 14 Jan 2015 09:18:14 +0000 (10:18 +0100)
committerJan Olszak <j.olszak@samsung.com>
Thu, 15 Jan 2015 14:50:28 +0000 (06:50 -0800)
commit3b289cf312278ae35bebd9f48fdf46d29123ff14
treec6072c39c2d5ae39aa16907d631dc8b31c284856
parente649fc7da6a8db91320c1e9f2aed653fba8dce69
Unallocate provisioned resources in destructor

[Bug/Feature]   Provisioned resources aren't released when "zone->start" throws exception.
[Cause]         There is no destructor in ZoneProvsion class
[Solution]      Destructor was implemented
[Verification]  Build, install, run ZoneProvsionSuite tests

Change-Id: I4d610cae7b1ffee4fd3b06f2906b9e4631a1dcf7
server/zone-provision.cpp
server/zone-provision.hpp
tests/unit_tests/server/ut-zone-provision.cpp