less memleak
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@361 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
ba4010eb52
commit
07199650b7
10 changed files with 90 additions and 75 deletions
|
|
@ -6,7 +6,7 @@
|
|||
MwWidget wmain;
|
||||
|
||||
void destroy(MwWidget handle, void* user, void* call) {
|
||||
MwDestroyWidget(user);
|
||||
MwMessageBoxDestroy(user);
|
||||
}
|
||||
|
||||
void activate(MwWidget handle, void* user, void* call) {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
#include <Mw/Milsko.h>
|
||||
|
||||
void ok(MwWidget handle, void* user, void* call) {
|
||||
MwDestroyWidget(user);
|
||||
MwMessageBoxDestroy(user);
|
||||
}
|
||||
|
||||
void spawn(MwWidget handle, void* user, void* call) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue