~ubuntu-branches/debian/sid/gdal/sid

« back to all changes in this revision

Viewing changes to frmts/grib/degrib18/degrib/degrib1.cpp

  • Committer: Package Import Robot
  • Author(s): Francesco Paolo Lovergine
  • Date: 2012-05-07 15:04:42 UTC
  • mfrom: (5.5.16 experimental)
  • Revision ID: package-import@ubuntu.com-20120507150442-2eks97loeh6rq005
Tags: 1.9.0-1
* Ready for sid, starting transition.
* All symfiles updated to latest builds.
* Added dh_numpy call in debian/rules to depend on numpy ABI.
* Policy bumped to 3.9.3, no changes required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1797
1797
      *grib_DataLen = meta->gds.numPts;
1798
1798
      *Grib_Data = (double *) realloc ((void *) (*Grib_Data),
1799
1799
                                       (*grib_DataLen) * sizeof (double));
 
1800
      if (!(*Grib_Data))
 
1801
      {
 
1802
        *grib_DataLen = 0;
 
1803
        return -1;
 
1804
      }
1800
1805
   }
1801
1806
   grib_Data = *Grib_Data;
1802
1807