diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-08-24 13:18:52 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-08-24 13:33:05 -0700 |
commit | 4a245cfd11c387c297bff9b000142a26683b1d1d (patch) | |
tree | fc41581fa0295e3a937302b60ddd11a4fff0ba29 /binding/gdbus/lightmediascanner_interface.c | |
parent | bf1b11ab772ad3e8afe16fd061531fbaa36c4d82 (diff) |
binding: media: fix memory leak with json objects
In case of empty media insertion the allocated json_object's
weren't used. Run json_object_put to force the freeing of the
objects.
Bug-AGL: SPEC-842
Change-Id: I48fe8cf0824030119140fa581223c282855981d7
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding/gdbus/lightmediascanner_interface.c')
0 files changed, 0 insertions, 0 deletions