Changeset 2fb1262 for protocols


Ignore:
Timestamp:
2012-11-11T18:22:39Z (8 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
dd672e2
Parents:
1388d30
Message:

Tiny cleanup. Fixing some memory leaks (why did I not notice so far that
those free()s were commented out?).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter_lib.c

    r1388d30 r2fb1262  
    958958
    959959        g_free(args[1]);
    960         if (td->timeline_id) {
    961                 g_free(args[5]);
    962         }
     960        g_free(args[5]);
    963961}
    964962
     
    986984                goto end;
    987985        twitter_xt_get_status_list(ic, parsed, txl);
    988 //      json_value_free(parsed);
     986        json_value_free(parsed);
    989987
    990988        td->home_timeline_obj = txl;
     
    10221020                goto end;
    10231021        twitter_xt_get_status_list(ic, parsed, txl);
    1024 //      json_value_free(parsed);
     1022        json_value_free(parsed);
    10251023
    10261024        td->mentions_obj = txl;
Note: See TracChangeset for help on using the changeset viewer.