Saving OpenEXR half didn't free allocated half buffer... silly c++ memory

management!
This commit is contained in:
Ton Roosendaal
2006-02-28 16:45:52 +00:00
parent b1c7f7f0f7
commit 21df108cb9

View File

@@ -249,6 +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;
}
catch (const std::exception &exc)
{