changeset 928:ebe0d93e03c0

Use dmMalloc0() instead of dmCalloc() here.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 25 Feb 2015 15:50:17 +0200
parents db495f421242
children e1378398be0f
files src/libgfx.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;