mirror of
https://github.com/zlgopen/awtk.git
synced 2025-05-08 11:33:48 +08:00
Merge branch 'master' of https://github.com/zlgopen/awtk
This commit is contained in:
commit
79aeae4eb0
@ -84,6 +84,12 @@ ret_t app_conf_init(conf_load_t load, const char* app_name, const char* extname)
|
||||
|
||||
app_conf_set_instance(obj);
|
||||
app_conf_set_str(CONF_OBJ_PROP_DEFAULT_URL, path);
|
||||
assert(obj->ref_count > 0);
|
||||
assert(user_obj->ref_count > 0);
|
||||
assert(default_obj->ref_count > 0);
|
||||
TK_OBJECT_UNREF(obj);
|
||||
TK_OBJECT_UNREF(user_obj);
|
||||
TK_OBJECT_UNREF(default_obj);
|
||||
|
||||
return RET_OK;
|
||||
error:
|
||||
|
@ -43,6 +43,7 @@ TEST(Bitmap, basic2) {
|
||||
bitmap_unlock_buffer(b);
|
||||
ASSERT_EQ(bitmap_is_dirty(b), TRUE);
|
||||
ASSERT_EQ(b->should_free_handle, FALSE);
|
||||
bitmap_deinit(b);
|
||||
}
|
||||
|
||||
for (i = 0; i < n; i++) {
|
||||
@ -52,6 +53,7 @@ TEST(Bitmap, basic2) {
|
||||
ASSERT_EQ(bitmap_get_line_length(b), b->w * 2u);
|
||||
bitmap_unlock_buffer(b);
|
||||
ASSERT_EQ(b->should_free_handle, FALSE);
|
||||
bitmap_deinit(b);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user