Fix a few delete's that should have been delete[]'s.

This commit is contained in:
Jonathan Moore Liles 2008-04-14 03:55:03 -05:00
parent 91abbf543d
commit 56b06c267a
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}