introduce MwFreeWidget
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
3779b2e0db
commit
4bf321f3a2
6 changed files with 47 additions and 6 deletions
|
|
@ -309,6 +309,8 @@ static void draw(MwWidget handle) {
|
|||
r.width = w;
|
||||
MwLLDrawPixmap(handle->lowlevel, &r, px);
|
||||
|
||||
free(raw);
|
||||
|
||||
MwLLDestroyPixmap(px);
|
||||
} else {
|
||||
r.width -= MwGetInteger(handle, MwNleftPadding);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue