Proper syntax for freeing an allocated array in silly c++ :)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user