Commit e0c58cea authored by U. Artie Eoff's avatar U. Artie Eoff Committed by Kristian H. Kristensen

os-wrappers-test: assert closure is not NULL before invoking it

Signed-off-by: U. Artie Eoff's avatarU. Artie Eoff <ullysses.a.eoff@intel.com>
parent 5e096ccc
......@@ -252,6 +252,7 @@ marshal_demarshal(struct marshal_data *data,
object.id = msg[0];
closure = wl_connection_demarshal(data->read_connection,
size, &objects, &message);
assert(closure);
wl_closure_invoke(closure, WL_CLOSURE_INVOKE_SERVER, &object, 0, data);
wl_closure_destroy(closure);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment