From a83ab2bb74fbf5d06800afda596b722c77395d75 Mon Sep 17 00:00:00 2001 From: Kp Date: Sat, 24 Nov 2012 16:47:14 +0000 Subject: [PATCH] Use MALLOC wrapper for SDL window handling --- arch/sdl/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sdl/window.c b/arch/sdl/window.c index bb5d0ffc9..e3ade9e48 100644 --- a/arch/sdl/window.c +++ b/arch/sdl/window.c @@ -33,7 +33,7 @@ window *window_create(grs_canvas *src, int x, int y, int w, int h, int (*event_c window *prev = window_get_front(); d_event event; - wind = d_malloc(sizeof(window)); + MALLOC(wind, window, 1); if (wind == NULL) return NULL;