diff tools/gfxconv.c @ 1694:e568535e1a96

Backed out changeset 9611ecd2c4fb
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 05 Jun 2018 11:03:17 +0300
parents 9611ecd2c4fb
children cf0fddd4bf52
line wrap: on
line diff
--- a/tools/gfxconv.c	Tue Jun 05 09:52:53 2018 +0300
+++ b/tools/gfxconv.c	Tue Jun 05 11:03:17 2018 +0300
@@ -1058,6 +1058,8 @@
     int res = DMERR_OK;
     DMGrowBuf buf;
 
+    dmGrowBufInit(&buf);
+
     // Encode to target format
     dmMsg(1, "Encoding C64 bitmap data to format '%s'\n", fmt->name);
     if ((res = dmC64EncodeBMP(&buf, image, fmt)) != DMERR_OK)