util: resource: Unset attrs when resource is deleted 35/273035/2
authorDongwoo Lee <dwoo08.lee@samsung.com>
Mon, 28 Mar 2022 11:47:14 +0000 (20:47 +0900)
committerDongwoo Lee <dwoo08.lee@samsung.com>
Thu, 31 Mar 2022 03:02:27 +0000 (12:02 +0900)
commit70d6f6a5407d500d72fc90f1b9661ec27d40f2f6
treeda07aa7f0e78f675560002a730428d4f527947ab
parent0cfa1c6d4f2d0a3a2547a16a07ac4175bf97ec64
util: resource: Unset attrs when resource is deleted

To free memory allocated to data_value arrays of resource, unset attr
function is invoked while deleting resource.

Change-Id: Id5c87a7a5afb64c4bd94da1894ad8fca7ec1b272
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
src/util/resource.c