Coverity issues 88/152988/1 accepted/tizen/4.0/unified/20171010.064224 submit/tizen_4.0/20171010.004559 tizen_4.0.IoT.p1_release
authorchanywa <cbible.kim@samsung.com>
Wed, 27 Sep 2017 12:26:59 +0000 (21:26 +0900)
committerchanywa <cbible.kim@samsung.com>
Wed, 27 Sep 2017 12:26:59 +0000 (21:26 +0900)
Change-Id: I0408823a62ef35ae41bcfcb2c5c0fe7ae38b8ae9

src/heremaps-uc-dbus.c

index ba1b8f1588009714dc38e0541a6f46b839e905bb..a04a776ebe50cc3c47c37852cc623b112e061699 100644 (file)
@@ -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);