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->setFrameBuffer (frameBuffer);
|
||||||
file->writePixels (height);
|
file->writePixels (height);
|
||||||
delete file;
|
delete file;
|
||||||
delete pixels;
|
delete [] pixels;
|
||||||
}
|
}
|
||||||
catch (const std::exception &exc)
|
catch (const std::exception &exc)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user