Fix Coverity issue : 22384, 41860
[platform/core/connectivity/zigbee-manager.git] / zigbee-daemon / zigbee-interface / src / zigbee_service_dbus_interface_zcl_global_control.c
old mode 100644 (file)
new mode 100755 (executable)
index 5e8974a..91973d5
@@ -1385,6 +1385,8 @@ void zigbee_service_dbus_interface_zcl_global_control_notification(ZigBeeService
                                attr_t->cluster_id, attr_t->status, attr_t->type,
                                attr_t->record_length, attr_t->is_string);
                }
+               if (v_values)
+                       g_variant_unref(v_values);
        break;
        }
        case ZBLIB_ZCL_GLOBAL_NOTI_WRITE_ATTR_RSP: {