fix children_layouter_list_view memory leak

This commit is contained in:
lixianjing 2021-03-19 16:58:51 +08:00
parent a2e1c8c68d
commit d782f03a7f
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,9 @@
# 最新动态
2020/03/19
* 修复list view layout内存泄漏感谢兆坤提供补丁
* 增加 tk\_utf8\_from\_utf16\_ex 和 wstr\_set\_utf8\_with\_len。
2020/03/18
* 修复在linux64位平台下因为long和int长度不同 而导致字符串转整形错误的问题(感谢兆坤提供补丁)

View File

@ -485,6 +485,7 @@ static ret_t children_layouter_list_view_for_list_view_h_layout(children_layoute
widget_layout(iter);
}
scroll_view_set_virtual_w(list_view_h->scroll_view, virtual_w);
darray_deinit(&children_for_layout);
}
return RET_OK;