resource-manager: Add missing cases for unset_resource_attr_interest() 06/298406/1
authorYoungjae Cho <y0.cho@samsung.com>
Wed, 6 Sep 2023 11:16:21 +0000 (20:16 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Wed, 6 Sep 2023 11:16:21 +0000 (20:16 +0900)
Change-Id: Ibc6b4d62c3209a8826d349ae3b818c8a9c68e4f9
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
src/resource-manager/resource-manager.c

index 62dddca..3320ee9 100644 (file)
@@ -1864,6 +1864,8 @@ unset_resource_attr_interest(struct syscommon_resman_resource *resource, u_int64
                        case SYSCOMMON_RESMAN_DATA_TYPE_UINT64:
                        case SYSCOMMON_RESMAN_DATA_TYPE_DOUBLE:
                        case SYSCOMMON_RESMAN_DATA_TYPE_STRING:
+                       case SYSCOMMON_RESMAN_DATA_TYPE_UINT64_WITH_1_USER_DATA:
+                       case SYSCOMMON_RESMAN_DATA_TYPE_UINT64_WITH_2_USER_DATA:
                                free(attr_value->data);
                                attr_value->data = NULL;
                                break;