Fix a few delete's that should have been delete[]'s.
This commit is contained in:
parent
91abbf543d
commit
56b06c267a
|
@ -141,7 +141,7 @@ Peaks::read_peakfile_peaks ( Peak *peaks, nframes_t s, int npeaks, int chunksize
|
|||
break;
|
||||
}
|
||||
|
||||
delete pbuf;
|
||||
delete[] pbuf;
|
||||
|
||||
fclose( fp );
|
||||
|
||||
|
@ -187,7 +187,7 @@ Peaks::read_source_peaks ( Peak *peaks, int npeaks, int chunksize ) const
|
|||
break;
|
||||
}
|
||||
|
||||
delete fbuf;
|
||||
delete[] fbuf;
|
||||
|
||||
return i;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue