diff options
author | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-07-26 16:43:22 +0900 |
---|---|---|
committer | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2018-07-26 17:56:42 +0900 |
commit | 7ee936736ec753346d8a1811a3c9c014d4be8b41 (patch) | |
tree | 4a88281d3a863178b9ec7725262c70e17fc26396 /src/window_manager.cpp | |
parent | e4fcbf1b100ec2d926f7fbba5b1246336d05d436 (diff) |
Fix memory release problemflounder_5.99.2flounder/5.99.25.99.2
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>
Diffstat (limited to 'src/window_manager.cpp')
-rw-r--r-- | src/window_manager.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/window_manager.cpp b/src/window_manager.cpp index fb35ab0..612b544 100644 --- a/src/window_manager.cpp +++ b/src/window_manager.cpp @@ -1457,7 +1457,6 @@ void WindowManager::emitScreenUpdated(unsigned req_num) { HMI_DEBUG("wm", "afb_event_push failed: %m"); } - json_object_put(jarray); } void WindowManager::setTimer() |