Menu ▾ ▴

#58 Fix lots of leaks in FreeImage_OpenMultiBitmap()

closed
None
5
2014-10-08
2010-08-09
em1
No

There are lots of places in FreeImage_OpenMultiBitmap() where memory and/or a FILE is leaked if std::bad_alloc is thrown. This patch fixes all of them.
It also adds #include <errno.h> in Utilties.h, required by MultiPage.cpp (my fault).</errno.h>

Discussion

  • em1

    em1 - 2010-08-09

    Fix lots of leaks in FreeImage_OpenMultiBitmap()

     
  • Hervé Drolon

    Hervé Drolon - 2010-08-10

    patch applied to the CVS

     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Anonymous
Anonymous

Add attachments
Cancel