From 24f50df0fbeb7c83020fae76bcbf6da234ae4da4 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sun, 16 Sep 2012 14:29:18 +0000 Subject: [PATCH] This should fix memleak for csplayh5, please check do not have chd (no whatsnew) --- src/emu/video/v9938.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"));