Changeset c1d40e7 for protocols/msn


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

Fixed some memory leaks.

Location:
protocols/msn
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • 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.