Changeset 911d97a for protocols


Ignore:
Timestamp:
2011-08-04T15:19:54Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
7732193
Parents:
f988ad3
Message:

Error handling fixes.

Found one double free() bug causing troubles when a buddy_msg() handler takes
down the IM connection immediately.

Location:
protocols/jabber
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.c

    rf988ad3 r911d97a  
    319319                        imcb_error( ic, "OAuth failure" );
    320320                        imc_logout( ic, TRUE );
     321                        return 0;
    321322                }
    322323        }
  • protocols/jabber/sasl.c

    rf988ad3 r911d97a  
    448448{
    449449        struct im_connection *ic = data;
    450         imcb_remove_buddy( ic, "jabber_oauth", NULL );
     450        if( g_slist_find( jabber_connections, ic ) )
     451                imcb_remove_buddy( ic, "jabber_oauth", NULL );
    451452        return FALSE;
    452453}
Note: See TracChangeset for help on using the changeset viewer.