mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 02:58:26 +08:00
fix memory leak in progress circle
This commit is contained in:
parent
05bb3236a0
commit
25bbc5730c
@ -1,4 +1,7 @@
|
||||
# 最新动态
|
||||
* 2020/03/28
|
||||
* 修改 progress circle中的内存泄露。
|
||||
|
||||
* 2020/03/27
|
||||
* 完善 window\_base(感谢尧燊提供补丁)。
|
||||
* 完善 main\_loop\_sdl2(感谢尧燊提供补丁)。
|
||||
|
@ -176,6 +176,7 @@ static ret_t progress_circle_on_destroy(widget_t* widget) {
|
||||
return_value_if_fail(widget != NULL && progress_circle != NULL, RET_BAD_PARAMS);
|
||||
|
||||
TKMEM_FREE(progress_circle->unit);
|
||||
TKMEM_FREE(progress_circle->line_cap);
|
||||
|
||||
return RET_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user