Fix potential crash when closing magnifier window (noted by Pietro Cerutti).
SVN revision: 40950
This commit is contained in:
parent
00e66bbe9b
commit
21823a5e80
|
@ -448,8 +448,6 @@ MagwinDestroy(MagWindow * mw)
|
|||
#if USE_TIMER
|
||||
TIMER_DEL(mw->timer);
|
||||
#endif
|
||||
EventCallbackUnregister(EwinGetClientWin(mw->ewin), 0, MagwinEvent, mw);
|
||||
EDestroyWindow(EwinGetClientWin(mw->ewin));
|
||||
Efree(mw);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue