summaryrefslogtreecommitdiffstats
path: root/test/afb-test/tests/helloworld-event.lua
diff options
context:
space:
mode:
authorLi, Xiaoming <lixm.fnst@cn.fujitsu.com>2020-09-18 10:27:32 +0800
committerLi, Xiaoming <lixm.fnst@cn.fujitsu.com>2020-09-18 10:27:32 +0800
commit403c69ccf1b2696275c3f3409eac7df525a26dbc (patch)
treeab2f6e8aa15cf43bc49eccc6691364ef0d943809 /test/afb-test/tests/helloworld-event.lua
parentb4149dc39c9320503179027e3ff334f88184c48b (diff)
Everytime we call json_object_new_object() to new a json object, if we don't call json_object_object_add()(or other json-c functions) to transfer the ownership and return ,there will be some unfreeed memory. This patch will move the memory allocating code to the place only where it is needed. Bug-AGL: SPEC-3584 Change-Id: I6b67f82035eaf44e38a14c3e21b3b24c40c1f645 Signed-off-by: Li, Xiaoming <lixm.fnst@cn.fujitsu.com>
Diffstat (limited to 'test/afb-test/tests/helloworld-event.lua')
0 files changed, 0 insertions, 0 deletions