Revision: 1167
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1167&view=rev
Author:   nadvornik
Date:     2008-10-20 17:13:32 +0000 (Mon, 20 Oct 2008)

Log Message:
-----------
fixed failed assertion in exif_free

Modified Paths:
--------------
    trunk/src/exiv2.cc

Modified: trunk/src/exiv2.cc
===================================================================
--- trunk/src/exiv2.cc  2008-10-18 20:17:55 UTC (rev 1166)
+++ trunk/src/exiv2.cc  2008-10-20 17:13:32 UTC (rev 1167)
@@ -352,6 +352,7 @@
 
 void exif_free(ExifData *exif)
 {
+       if (!exif) return;
        g_assert(dynamic_cast<_ExifDataProcessed *>(exif)); // this should not 
be called on ExifDataOriginal
        delete exif;
 }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to