diff src/libgfx.c @ 928:ebe0d93e03c0

Use dmMalloc0() instead of dmCalloc() here.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 25 Feb 2015 15:50:17 +0200
parents c6c480e8e1c8
children e1378398be0f
line wrap: on
line diff
--- a/src/libgfx.c	Wed Feb 25 15:36:07 2015 +0200
+++ b/src/libgfx.c	Wed Feb 25 15:50:17 2015 +0200
@@ -28,7 +28,7 @@
 
 DMImage * dmImageAlloc(int width, int height)
 {
-    DMImage *img = dmCalloc(1, sizeof(DMImage));
+    DMImage *img = dmMalloc0(sizeof(DMImage));
     if (img == NULL)
         return NULL;