- Problem: during aging test, heap is increasing bit by bit.
- Cause: when updating the device list, the BLE payload is not freed.
- Solution: release BLE payload after updating the device list.
Change-Id: I2019643888883ca1c53ea16d9565e178ab6ec28f
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Name: ua-manager
Summary: User awareness manager
-Version: 0.12.17
+Version: 0.12.18
Release: 1
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
g_free(device->addr_list[j].address);
g_free(device->addr_list);
+
+ if(device->payload) {
+ g_free(device->payload->duid);
+ g_free(device->payload->bt_mac);
+ g_free(device->payload);
+ }
}
g_free(devices);