~cosme/ubuntu/precise/freeimage/freeimage-3.15.1

« back to all changes in this revision

Viewing changes to Source/FreeImage/PluginXBM.cpp

  • Committer: Stefano Rivera
  • Date: 2010-07-24 15:35:51 UTC
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: stefanor@ubuntu.com-20100724153551-6s3fth1653huk31a
Tags: upstream-3.13.1
ImportĀ upstreamĀ versionĀ 3.31.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
365
365
 
366
366
        } catch(const char *text) {
367
367
                if(buffer)      free(buffer);
368
 
                if(dib)         free(dib);
 
368
                if(dib)         FreeImage_Unload(dib);
369
369
                FreeImage_OutputMessageProc(s_format_id, text);
370
370
                return NULL;
371
371
        }