Changeset 3688

Show
Ignore:
Timestamp:
06/03/08 18:57:51
Author:
svillar
Message:
  • Fixes a crash when a TLS error occurs while connecting to a POP3 server
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ChangeLog

    r3687 r3688  
     12008-06-03  Sergio Villar Senin  <svillar@igalia.com> 
     2 
     3        * camel/providers/pop3/camel-pop3-store.c (connect_to_server): 
     4        fixed a crash when there is a connection problem related to TLS  
     5 
    162008-06-03  Jose Dapena Paz  <jdapena@igalia.com> 
    27 
     
    4954        directory (the one on top of cur, new and tmp). 
    5055 
     56>>>>>>> .r3687 
    51572008-05-26  Philip Van Hoof <pvanhoof@gnome.org> 
    5258 
  • trunk/libtinymail-camel/camel-lite/camel/providers/pop3/camel-pop3-store.c

    r3475 r3688  
    582582        } 
    583583 
    584         camel_object_unref (CAMEL_OBJECT (store->engine)); 
     584        /* camel_pop3_engine_iterate could issue a disconnect that 
     585           could set engine to NULL */ 
     586        if (store->engine) 
     587                camel_object_unref (CAMEL_OBJECT (store->engine)); 
    585588        camel_object_unref (CAMEL_OBJECT (tcp_stream)); 
    586589        g_static_rec_mutex_lock (store->eng_lock);