diff --git a/src/devices/bus/macpds/macpds.h b/src/devices/bus/macpds/macpds.h index 9e42e47b3c1..95a1a1e0b50 100644 --- a/src/devices/bus/macpds/macpds.h +++ b/src/devices/bus/macpds/macpds.h @@ -77,6 +77,7 @@ public: // construction/destruction macpds_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); macpds_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + ~macpds_device() { m_device_list.detach_all(); } // inline configuration static void static_set_cputag(device_t &device, const char *tag);