summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/windows/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/windows/window.c')
-rw-r--r--src/osd/windows/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osd/windows/window.c b/src/osd/windows/window.c
index 64a1cb20f64..330b9c2bd02 100644
--- a/src/osd/windows/window.c
+++ b/src/osd/windows/window.c
@@ -614,7 +614,7 @@ void winwindow_video_window_create(running_machine *machine, int index, win_moni
assert(GetCurrentThreadId() == main_threadid);
// allocate a new window object
- window = alloc_clear_or_die(win_window_info);
+ window = global_alloc_clear(win_window_info);
window->maxwidth = config->width;
window->maxheight = config->height;
window->refresh = config->refresh;
@@ -709,7 +709,7 @@ static void winwindow_video_window_destroy(win_window_info *window)
osd_lock_free(window->render_lock);
// free the window itself
- free(window);
+ global_free(window);
}