diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-05-17 17:49:58 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-12-13 15:02:54 +0100 |
commit | 5643b2a3ea7a5c3454113cd80f5f07251d1c0a4b (patch) | |
tree | ca5ab82428b992e15725f43c1216f201aa831a7d /ctl-lib/ctl-plugin.h | |
parent | d33a2005d881c1363b3bf8b30a2e6488d245049d (diff) |
Correctly release request JSON object
A JSON object coming from an AFB request is handled
by the appfw. So, it release it once request has been
executed. ActionExecOne also decrement the reference
count of the json_object, so to make the count right
it is needed to call a json_object_get here.
Change-Id: I4c74a767e8e51e8b975ebe66c97f5b1f5b3aba05
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'ctl-lib/ctl-plugin.h')
0 files changed, 0 insertions, 0 deletions