fix suggestions 2010-07-25: 569 if (!newmap) { delete[] rgbpal; return NULL; } 586 delete[] rgbpal;
fix reason: delete only releases the first element of an array; delete[] releases the entire array.
fix suggestions 2010-07-25:
569 if (!newmap) { delete[] rgbpal; return NULL; }
586 delete[] rgbpal;
fix reason:
delete only releases the first element of an array; delete[] releases the entire array.