Remove memory leak in RageSurfaceUtils::Palettize

This commit is contained in:
Moshe Kaplan
2014-07-03 11:27:22 -04:00
parent 63f1eea7ca
commit e52ff00295
+1
View File
@@ -298,6 +298,7 @@ void RageSurfaceUtils::Palettize( RageSurface *&pImg, int iColors, bool bDither
}
}
delete acolormap
delete [] thiserr;
delete [] nexterr;