use scoped_array::reset to make sure previous buffer actually gets free'd
use scoped_array::reset to make sure previous buffer actually gets free'd

lucadelu/PDAL,lucadelu/PDAL,boundlessgeo/PDAL,radiantbluetechnologies/PDAL,verma/PDAL,radiantbluetechnologies/PDAL,lucadelu/PDAL,mpgerlek/PDAL-old,boundlessgeo/PDAL,boundlessgeo/PDAL,DougFirErickson/PDAL,radiantbluetechnologies/PDAL,jwomeara/PDAL,Sciumo/PDAL,jwomeara/PDAL,verma/PDAL,verma/PDAL,DougFirErickson/PDAL,jwomeara/PDAL,Sciumo/PDAL,mpgerlek/PDAL-old,jwomeara/PDAL,mpgerlek/PDAL-old,verma/PDAL,mtCarto/PDAL,DougFirErickson/PDAL,mtCarto/PDAL,lucadelu/PDAL,mpgerlek/PDAL-old,boundlessgeo/PDAL,verma/PDAL,Sciumo/PDAL,verma/PDAL,mtCarto/PDAL,Sciumo/PDAL,DougFirErickson/PDAL,radiantbluetechnologies/PDAL,verma/PDAL,mtCarto/PDAL