mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-09 10:53:27 +00:00
less memleak
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@361 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -103,3 +103,10 @@ MwWidget MwMessageBoxGetChild(MwWidget handle, int child) {
|
||||
|
||||
return hmget(mb, child);
|
||||
}
|
||||
|
||||
void MwMessageBoxDestroy(MwWidget handle) {
|
||||
void* px;
|
||||
|
||||
if((px = MwGetVoid(handle, MwNpixmap)) != NULL) MwLLDestroyPixmap(px);
|
||||
MwDestroyWidget(handle);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user