Changeset cb6a6f4 for protocols


Ignore:
Timestamp:
2006-12-03T17:57:17Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
c7d0f41
Parents:
25984f2
Message:

Fixed use of already free()d variable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber_util.c

    r25984f2 rcb6a6f4  
    391391                if( bud == NULL )
    392392                        /* No match. Create it now? */
    393                         return ( ( flags & GET_BUDDY_CREAT ) && find_buddy( gc, jid ) ) ?
    394                                    jabber_buddy_add( gc, jid ) : NULL;
     393                        return ( ( flags & GET_BUDDY_CREAT ) && find_buddy( gc, jid_ ) ) ?
     394                                   jabber_buddy_add( gc, jid_ ) : NULL;
    395395                else if( bud->resource && ( flags & GET_BUDDY_EXACT ) )
    396396                        /* We want an exact match, so in thise case there shouldn't be a /resource. */
Note: See TracChangeset for help on using the changeset viewer.