forked from bartvdbraak/blender
Tsk! A 'new' for filehandle wasn't combined with a 'delete', which is
probably causing the leakage issues we have exr in linux.
This commit is contained in:
parent
f356eac8a4
commit
148bc0a2e8
@ -661,6 +661,9 @@ struct ImBuf *imb_load_openexr(unsigned char *mem, int size, int flags)
|
||||
IMB_rect_from_float(ibuf);
|
||||
}
|
||||
}
|
||||
|
||||
delete file;
|
||||
|
||||
return(ibuf);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user