Proper syntax for freeing an allocated array in silly c++ :)

This commit is contained in:
Ton Roosendaal 2006-03-01 21:18:31 +00:00
parent b9861d2a80
commit a8afa6dc20

@ -249,7 +249,7 @@ static short imb_save_openexr_half(struct ImBuf *ibuf, char *name, int flags)
file->setFrameBuffer (frameBuffer);
file->writePixels (height);
delete file;
delete pixels;
delete [] pixels;
}
catch (const std::exception &exc)
{