Remove waring message when calling CHECK_PRIVILEGE 40/190340/1 accepted/tizen/5.0/unified/20181102.013612 accepted/tizen/unified/20181001.150852 submit/tizen/20181001.075826 submit/tizen_5.0/20181101.000002
authorsaerome.kim <saerome.kim@samsung.com>
Mon, 1 Oct 2018 06:19:25 +0000 (15:19 +0900)
committersaerome.kim <saerome.kim@samsung.com>
Mon, 1 Oct 2018 06:19:25 +0000 (15:19 +0900)
commit749559fea356c66286a2638fe5fd00fdf6014002
tree02aa06ef04c4ac406fde797525f8cb1852210946
parentee4ecd8d87e298111f3cc9caed00f6fc528d437e
Remove waring message when calling CHECK_PRIVILEGE

Even if g_dbus_proxy_call_sync() returns NULL, g_variant_unref() calles.
So, we checkout if returned variable is null or not.

Change-Id: Idef3bce2021b71c690ed8055acb8b3fdb8a6cf60
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
src/zbl-dbus.c