Changeset c1d40e7


Ignore:
Timestamp:
2010-10-07T06:19:39Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
afb9ea9
Parents:
385fbc4
Message:

Fixed some memory leaks.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • irc_user.c

    r385fbc4 rc1d40e7  
    157157        if( iu->fullname == NULL ) iu->fullname = g_strdup( iu->nick );
    158158       
     159        g_free( iu->key );
    159160        iu->key = g_strdup( key );
    160161        g_hash_table_insert( irc->nick_user_hash, iu->key, iu );
  • protocols/msn/msn.c

    r385fbc4 rc1d40e7  
    346346{
    347347        struct msn_data *md = bu->ic->proto_data;
     348        struct msn_buddy_data *bd = bu->data;
    348349        g_tree_remove( md->domaintree, bu->handle );
    349350        g_free( bu->data );
     351        g_free( bd->cid );
    350352}
    351353
  • protocols/msn/ns.c

    r385fbc4 rc1d40e7  
    828828       
    829829        adls = xt_to_string( adl );
     830        xt_free_node( adl );
    830831        msn_ns_write( ic, -1, "ADL %d %zd\r\n%s", ++md->trId, strlen( adls ), adls );
    831832        g_free( adls );
  • protocols/msn/soap.c

    r385fbc4 rc1d40e7  
    441441        g_free( sd->error );
    442442        g_free( sd->redirect );
     443        g_free( sd );
    443444       
    444445        return MSN_SOAP_OK;
Note: See TracChangeset for help on using the changeset viewer.