Debugger fix from Judge (nw)

This commit is contained in:
Vas Crabb 2015-07-31 16:22:04 +10:00
parent e9421244c6
commit 668c54497f

View File

@ -260,6 +260,7 @@ static void debugwin_view_update(debug_view &view, void *osdprivate)
- (void)dealloc {
[[NSNotificationCenter defaultCenter] removeObserver:self];
if (view != NULL) machine->debug_view().free_view(*view);
if (font != nil) [font release];
if (text != nil) [text release];
[super dealloc];