diff --git a/src/gfx/process.cpp b/src/gfx/process.cpp index b40c04a3..c7c90e5a 100644 --- a/src/gfx/process.cpp +++ b/src/gfx/process.cpp @@ -310,7 +310,7 @@ public: size_t nbRowBytes = png_get_rowbytes(png, info); assert(nbRowBytes != 0); - std::vector row(nbRowBytes); + DefaultInitVec row(nbRowBytes); if (interlaceType == PNG_INTERLACE_NONE) { for (png_uint_32 y = 0; y < height; ++y) {