summaryrefslogtreecommitdiffstats
path: root/ctl-lib/ctl-onload.c
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-04-24 15:18:05 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-12-13 15:02:54 +0100
commit1721310eb4b257338894c1a1bf364d4f8a7dd014 (patch)
treef9c34b5394c8382f5cb8df5787779de63e64c7c8 /ctl-lib/ctl-onload.c
parent8cf21886c65c7c4a277eaee1a82edd3f9d894823 (diff)
Use an intermadiary variable avoiding side effets.
Previously using parameter and modifying it which could involves side effects. Better to use an intermediary json_object to be fills with action->argsJ and queryJ object meld together. Also fix segfault after json_object_put called inside AFB_ServiceSync doing a json_object_get() on object to be conserved Change-Id: I4618a7bc87e111afa1fe047168ba7232241ac4c8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'ctl-lib/ctl-onload.c')
0 files changed, 0 insertions, 0 deletions