~ubuntu-branches/ubuntu/oneiric/libpng/oneiric

« back to all changes in this revision

Viewing changes to pngread.c

  • Committer: Bazaar Package Importer
  • Author(s): Anibal Monsalve Salazar
  • Date: 2009-05-22 09:11:26 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20090522091126-ackh8fu2581nwuyg
Tags: 1.2.36-1
* New upstream release 
* Standards-Version is 3.8.1
* debhelper compat is 7
* Run dh_prep instead of dh_clean -k

Show diffs side-by-side

added added

removed removed

Lines of Context:
1434
1434
   {
1435
1435
      info_ptr->row_pointers = (png_bytepp)png_malloc(png_ptr,
1436
1436
         info_ptr->height * png_sizeof(png_bytep));
1437
 
#ifdef PNG_FREE_ME_SUPPORTED
1438
 
      info_ptr->free_me |= PNG_FREE_ROWS;
1439
 
#endif
1440
1437
      png_memset(info_ptr->row_pointers, 0, info_ptr->height
1441
1438
         * png_sizeof(png_bytep));
 
1439
#ifdef PNG_FREE_ME_SUPPORTED
 
1440
      info_ptr->free_me |= PNG_FREE_ROWS;
 
1441
#endif
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));