Fix Coverity issues in Bluetooth-frwk
[platform/core/connectivity/bluetooth-frwk.git] / bt-oal / bluez_hal / src / bt-hal-hdp-dbus-handler.c
index 5a74fc1..f31aa9b 100644 (file)
@@ -76,7 +76,6 @@ static void __hdp_send_conn_event(hdp_conn_info_t *conn_info, int state)
        ev.channel_state = state;
        if (!event_cb) {
                ERR("HDP dbus handler callback not registered");
-               g_free(conn_info);
        } else
                event_cb(HAL_EV_HDP_CONN_STATE, (void *)&ev, sizeof(ev));