1435
1435
info_ptr->row_pointers = (png_bytepp)png_malloc(png_ptr,
1436
1436
info_ptr->height * png_sizeof(png_bytep));
1440
1437
png_memset(info_ptr->row_pointers, 0, info_ptr->height
1441
1438
* png_sizeof(png_bytep));
1442
1442
for (row = 0; row < (int)info_ptr->height; row++)
1443
1443
info_ptr->row_pointers[row] = (png_bytep)png_malloc(png_ptr,
1444
1444
png_get_rowbytes(png_ptr, info_ptr));