From dc348b53d38550ba701b36359d9339c7bb45d689 Mon Sep 17 00:00:00 2001 From: Aaron Meriwether Date: Tue, 18 Jan 2022 22:39:32 -0600 Subject: [PATCH] Initialize memory during allocation --- Source/Image.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Image.cc b/Source/Image.cc index 8d3f461..2bde5d5 100644 --- a/Source/Image.cc +++ b/Source/Image.cc @@ -135,7 +135,7 @@ bool Image::Create (uint16 w, uint16 h) // Allocate memory mData = new uint32 - [mLimit = mLength]; + [mLimit = mLength](); } return true;