From eeb4e8bdf54d04d8ae688c529bb00100139ffae5 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Mon, 2 Aug 2010 08:40:01 +0000 Subject: [PATCH] Fix crash when exiting the debugger if breakpoints are set. --- src/emu/devintrf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/emu/devintrf.c b/src/emu/devintrf.c index 83525a6b675..25dca3bac86 100644 --- a/src/emu/devintrf.c +++ b/src/emu/devintrf.c @@ -711,6 +711,7 @@ device_t::device_t(running_machine &_machine, const device_config &config) device_t::~device_t() { + auto_free(&m_machine, m_debug); }