Changeset 2415

Show
Ignore:
Timestamp:
07/06/07 17:30:00
Author:
pvanhoof
Message:

Possible crash fix

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libtinymail-camel/tny-camel-folder.c

    r2407 r2415  
    27902790                        while (copy) { 
    27912791                                TnyHeader *hdr = copy->data; 
    2792                                 if (!no_uidplus) 
    2793                                         tny_list_prepend (new_headers, G_OBJECT (hdr)); 
    2794                                 g_object_unref (hdr); 
     2792                                if (hdr) { 
     2793                                        if (!no_uidplus) 
     2794                                                tny_list_prepend (new_headers, G_OBJECT (hdr)); 
     2795                                        g_object_unref (hdr); 
     2796                                } 
    27952797                                copy = g_list_next (copy); 
    27962798                        }