Changeset 3761

Show
Ignore:
Timestamp:
09/10/08 18:42:13
Author:
svillar
Message:

Fixed an invalid g_free

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • releases/modest/diablo-pe2/ChangeLog

    r3758 r3761  
     12008-10-10  Sergio Villar Senin  <svillar@igalia.com> 
     2 
     3        * libtinymail-camel/camel-lite/camel/providers/local/camel-mailder-store.c 
     4        (scan_dirs): do not free name before using it to notify an 
     5        exception. Merged 3759 from trunk 
     6 
    172008-09-03  Jose Dapena Paz  <jdapena@igalia.com> 
    28 
  • releases/modest/diablo-pe2/libtinymail-camel/camel-lite/camel/providers/local/camel-maildir-store.c

    r3280 r3761  
    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                }