Tsk! A 'new' for filehandle wasn't combined with a 'delete', which is
authorTon Roosendaal <ton@blender.org>
Sat, 18 Mar 2006 14:45:15 +0000 (14:45 +0000)
committerTon Roosendaal <ton@blender.org>
Sat, 18 Mar 2006 14:45:15 +0000 (14:45 +0000)
probably causing the leakage issues we have exr in linux.

source/blender/imbuf/intern/openexr/openexr_api.cpp

index 6883cc4051db03c37387c8955412fd353fd7bfde..01e6c6b3fb7edd5fe7138c33f593e71b4d6b8d50 100644 (file)
@@ -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);
                                
        }