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