Changeset 13998

Show
Ignore:
Timestamp:
03/14/08 01:18:38 (2 months ago)
Author:
warmerdam
Message:

use VRTCreate() instead of new to avoid cross heap problems (#2263)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/gdal/apps/gdal_translate.cpp

    r13295 r13998  
    633633/*      Make a virtual clone.                                           */ 
    634634/* -------------------------------------------------------------------- */ 
    635     poVDS = new VRTDataset( nOXSize, nOYSize ); 
     635    poVDS = (VRTDataset *) VRTCreate( nOXSize, nOYSize ); 
    636636 
    637637    if( nGCPCount == 0 )