summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2012-09-16 14:29:18 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2012-09-16 14:29:18 +0000
commit24f50df0fbeb7c83020fae76bcbf6da234ae4da4 (patch)
treef601c1e767e61074f2a788f7aeb60897eaad495c /src
parent02ce39f34e9a0f539f221c38b8b1cef83af0a1bb (diff)
This should fix memleak for csplayh5, please check do not have chd (no whatsnew)
Diffstat (limited to 'src')
-rw-r--r--src/emu/video/v9938.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/video/v9938.c b/src/emu/video/v9938.c
index f00fc291202..e33519f876d 100644
--- a/src/emu/video/v9938.c
+++ b/src/emu/video/v9938.c
@@ -275,7 +275,7 @@ PALETTE_INIT( v9958 )
PALETTE_INIT_CALL(v9938);
if (v99x8_device::s_pal_indYJK == NULL)
- v99x8_device::s_pal_indYJK = global_alloc_array(UINT16, 0x20000);
+ v99x8_device::s_pal_indYJK = auto_alloc_array(machine,UINT16, 0x20000);
// set up YJK table
LOG(("Building YJK table for V9958 screens, may take a while ... \n"));