Changeset 3759

Show
Ignore:
Timestamp:
09/10/08 18:28:57
Author:
svillar
Message:

Fixed an invalid read when reporting an exception

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ChangeLog

    r3757 r3759  
     12008-10-10  Sergio Villar Senin  <svillar@igalia.com> 
     2        * libtinymail-camel/camel-lite/camel/providers/local/camel-mailder-store.c 
     3        (scan_dirs): do not free name before using it to notify an 
     4        exception  
     5         
    162008-09-03  Jose Dapena Paz  <jdapena@igalia.com> 
    27 
  • trunk/libtinymail-camel/camel-lite/camel/providers/local/camel-maildir-store.c

    r3280 r3759  
    489489                dir = opendir(name); 
    490490                if (dir == NULL) { 
    491                         g_free(name); 
    492491                        camel_exception_setv(ex, CAMEL_EXCEPTION_SYSTEM_IO_READ, 
    493492                                             _("Could not scan folder `%s', opendir(`%s') failed: %s"), 
    494493                                             root, name, g_strerror(errno)); 
     494                        g_free(name); 
    495495                        goto fail; 
    496496                }