On Thu, 14 May 2009 j...@bitminer.ca wrote:

> A simple fix, the png library needs to free memory after every read of a
> png image.
> 
> +  png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);
>    fclose(pngfile);
> 
>    return 1;

        Fix checked in.  Interestingly enough the memory _was_ being freed 
everywhere
        else (in all the error cases) - just not on the normal/success 
instance. 

        Cheers,
        Steven Schultz


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to