diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-04-24 15:18:05 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-04-25 10:14:05 +0200 |
commit | 1569d334696707c6bf6e7bba15d50c7613588faf (patch) | |
tree | f9c34b5394c8382f5cb8df5787779de63e64c7c8 /ctl-lib/ctl-lua.h | |
parent | 851020007d493e506abe0626db71f168f22febe1 (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-lua.h')
0 files changed, 0 insertions, 0 deletions