diff options
-rw-r--r-- | engines/parallaction/graphics.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/graphics.h b/engines/parallaction/graphics.h index a820436aa2..66eb5b9f39 100644 --- a/engines/parallaction/graphics.h +++ b/engines/parallaction/graphics.h @@ -171,7 +171,7 @@ public: internalWidth = w >> 2; h = height; size = (internalWidth * h); - data = (byte*)malloc(size); + data = (byte*)calloc(size, 1); } void free() { |