Fix memory release problem 71/15771/1 5.99.2 flounder/5.99.2 flounder_5.99.2
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>
Thu, 26 Jul 2018 07:43:22 +0000 (16:43 +0900)
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>
Thu, 26 Jul 2018 08:56:42 +0000 (17:56 +0900)
commit7ee936736ec753346d8a1811a3c9c014d4be8b41
tree4a88281d3a863178b9ec7725262c70e17fc26396
parente4fcbf1b100ec2d926f7fbba5b1246336d05d436
Fix memory release problem

Do not release json_object after event push.
The json_array which was freed is retained to the json-object
that is released in afb_event_push.

Related page:
https://json-c.github.io/json-c/json-c-0.10/doc/html/json__object_8h.html#a04448b1c63173e1bfe49965835732075

Bug-AGL: SPEC-1616

Change-Id: Ic6de6425d7a18b289eb3e9d37d297dcfb3383f21
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
src/window_manager.cpp