Ignore:
Timestamp:
2016-04-17T09:32:27Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
720f7a9
Parents:
991c75f
Message:

twitter: Fix a couple of leaks of mutes_ids and retweets_ids

Just freeing the list on logout and when removing items from them.

Also remove the "checking mutes" debug which is disproportionately noisy
compared to the rest of the protocol.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter.c

    r991c75f ra244877  
    687687                }
    688688
     689                g_slist_foreach(td->mutes_ids, (GFunc) g_free, NULL);
     690                g_slist_free(td->mutes_ids);
     691
     692                g_slist_foreach(td->noretweets_ids, (GFunc) g_free, NULL);
     693                g_slist_free(td->noretweets_ids);
     694
    689695                http_close(td->stream);
    690696                twitter_filter_remove_all(ic);
Note: See TracChangeset for help on using the changeset viewer.