From: chanywa Date: Wed, 27 Sep 2017 12:26:59 +0000 (+0900) Subject: Coverity issues X-Git-Tag: submit/tizen_4.0/20171010.004559^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fb114cfb78d80fce7224cf8445d4c145df1dbd35;p=platform%2Fcore%2Flocation%2Fmaps-plugin-here.git Coverity issues Change-Id: I0408823a62ef35ae41bcfcb2c5c0fe7ae38b8ae9 --- diff --git a/src/heremaps-uc-dbus.c b/src/heremaps-uc-dbus.c index ba1b8f1..a04a776 100644 --- a/src/heremaps-uc-dbus.c +++ b/src/heremaps-uc-dbus.c @@ -53,6 +53,7 @@ EXPORT_API int heremaps_uc_dbus_launch_receiver() bus_addr = g_dbus_address_get_for_bus_sync(G_BUS_TYPE_SESSION, NULL, &error); if (!bus_addr) { MAPS_LOGD("Fail to get addr of bus."); + g_free(handle); return HEREMAPS_UC_DBUS_ERROR_CONNECTION; } MAPS_LOGD("bus_addr: %s", bus_addr);