mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 02:58:26 +08:00
fix memory leak
This commit is contained in:
parent
5e4468cb87
commit
d87fc8c379
@ -455,6 +455,7 @@ ret_t canvas_offline_destroy(canvas_t* canvas) {
|
||||
if (bitmap != NULL) {
|
||||
bitmap_destroy(bitmap);
|
||||
}
|
||||
canvas_reset(canvas);
|
||||
TKMEM_FREE(canvas);
|
||||
|
||||
return RET_OK;
|
||||
|
BIN
tests/testdata/event_log_800x600.bin
vendored
Normal file
BIN
tests/testdata/event_log_800x600.bin
vendored
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user