introduce MwFreeWidget

This commit is contained in:
Nishi 2026-04-27 11:44:03 +09:00
commit 4bf321f3a2
6 changed files with 47 additions and 6 deletions

View file

@ -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);