Changeset 3bda2c2


Ignore:
Timestamp:
2012-12-02T17:39:22Z (12 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
92d3044
Parents:
b0ee720
Message:

Fixed minor memory leak.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/oauth2.c

    rb0ee720 r3bda2c2  
    103103        struct oauth2_access_token_data *cb_data = req->data;
    104104        char *atoken = NULL, *rtoken = NULL;
    105         const char *content_type;
     105        char *content_type;
    106106       
    107107        if( getenv( "BITLBEE_DEBUG" ) && req->reply_body )
     
    132132       
    133133        cb_data->func( cb_data->data, atoken, rtoken );
     134        g_free( content_type );
    134135        g_free( atoken );
    135136        g_free( rtoken );
Note: See TracChangeset for help on using the changeset viewer.