system-controller: don't leak unwrapped JSON objects/arguments.
authorKrisztian Litkey <kli@iki.fi>
Mon, 20 Oct 2014 09:23:48 +0000 (12:23 +0300)
committerKrisztian Litkey <krisztian.litkey@intel.com>
Thu, 8 Jan 2015 16:37:18 +0000 (18:37 +0200)
commitb2222172f0fa30cda0417da6b5e52da55ea22307
tree41d811f728a5627ea46126adfbf865aa73177a05
parent66fc633833b2a63d47d01938c216e9cff532e333
system-controller: don't leak unwrapped JSON objects/arguments.

mrp_json_lua_unwrap implicitly takes a new reference to the
unwrapped JSON object on behalf of the caller. Once the caller
is done with using the object, that reference must be dropped.

Change-Id: I06e132034355547fd4453140e8a1aeecf9cd1102
src/plugins/system-controller/wayland/scripting-input-manager.c
src/plugins/system-controller/wayland/scripting-window-manager.c