Broken implemenation has slipped through unspotted.
While testing previous change in JsonToBundle the API
installed on device probably has not been updated.
[Verification] UTs were failing and now they are passing.
Change-Id: I6c871ff03a79417a630da1db50f2f7300fca9ca8
Signed-off-by: Michal Michalski <m.michalski2@partner.samsung.com>
}
for (const auto& property : json.get<picojson::object>()) {
- int ret = BundleAdd(property.first, property.second, *data);
+ int ret = BundleAdd(property.first, property.second, temp);
if (BUNDLE_ERROR_NONE != ret) {
LoggerE("BundleAdd failed with error message: %s", get_error_message(ret));
bundle_free(temp);