1 parent 4ae0dd6 commit bd89c3aCopy full SHA for bd89c3a
1 file changed
tests/test_qom.c
@@ -158,7 +158,9 @@ int main(void)
158
159
assert(backend->parent_obj.size == 2ULL * 1024 * 1024 * 1024);
160
assert(!strcmp(backend->parent_obj.swap_storage, "file:///swap"));
161
+ object_free(root);
162
163
+ // ===============
164
error_clear(&err);
165
166
Object *lifecycle_object;
@@ -178,6 +180,6 @@ int main(void)
178
180
assert(!object_is_realized(lifecycle_object));
179
181
assert(!strcmp(lifecycle_events, "cp"));
182
- object_free(root);
183
+ object_free(lifecycle_object);
184
return 0;
185
}
0 commit comments