binding: navigation: deep copy json response for cache 83/23283/1 8.99.3 8.99.4 icefish/8.99.3 icefish/8.99.4 icefish_8.99.3 icefish_8.99.4
authorMatt Ranostay <matt.ranostay@konsulko.com>
Fri, 6 Dec 2019 06:58:42 +0000 (22:58 -0800)
committerMatt Ranostay <matt.ranostay@konsulko.com>
Fri, 6 Dec 2019 20:22:02 +0000 (20:22 +0000)
commita6aff946abf587bfb79e7b9e51141795fd91a843
treeb16e86006e3336b401c9d036c589166f8c862522
parent0119cb4fd006b594c491f255c62b58d3e3fffab7
binding: navigation: deep copy json response for cache

To avoid possible side effects from afb framework releasing
a cached json_object just deep copy to target cached object.

Bug-AGL: SPEC-2880
Change-Id: Ie953d4668cd4e9a33a91d727a378cd24e75f112e
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
binding/navigation-api.c