mesh: Add destroy callback to dbus_send_with_timeout()
authorInga Stotland <inga.stotland@intel.com>
Wed, 10 Jun 2020 17:11:19 +0000 (10:11 -0700)
committerAbhay Agarwal <ay.agarwal@samsung.com>
Fri, 18 Dec 2020 05:40:30 +0000 (11:10 +0530)
commitc80cd135ed340b19df6351064e6c42bd39d459d9
tree6233fbbe92816b7daf8e4e839e21fa2816c0e601
parente78c0cb892566afdc564de244d74c50abe7f8301
mesh: Add destroy callback to dbus_send_with_timeout()

This adds a destroy callback as a function parameter to
dbus_send_with_timeout() to allow automatic release of user data
on either reply or timeout.

Change-Id: Id97ac8108066c58130a2c1ee629d197a8ad8cb67
Signed-off-by: anuj.bhumiya <anuj.bhumiya@samsung.com>
mesh/dbus.c
mesh/dbus.h
mesh/mesh.c