- Timestamp:
- 2011-12-26T18:17:51Z (13 years ago)
- Branches:
- master
- Children:
- f1849a8
- Parents:
- 5f40da7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/twitter/twitter_lib.c
r5f40da7 r199fea6 4 4 * Simple module to facilitate twitter functionality. * 5 5 * * 6 * Copyright 2009 Geert Mulders <g.c.w.m.mulders@gmail.com> * 6 * Copyright 2009-2010 Geert Mulders <g.c.w.m.mulders@gmail.com> * 7 * Copyright 2010-2011 Wilmer van der Gaast <wilmer@gaast.net> * 7 8 * * 8 9 * This library is free software; you can redistribute it and/or * … … 786 787 g_slist_free(output); 787 788 788 if (home_timeline && home_timeline->list) { 789 txl_free(home_timeline); 790 } 791 792 if (mentions && mentions->list) { 793 txl_free(mentions); 794 } 789 txl_free(home_timeline); 790 txl_free(mentions); 795 791 796 792 td->flags &= ~(TWITTER_DOING_TIMELINE | TWITTER_GOT_TIMELINE | TWITTER_GOT_MENTIONS); 793 td->home_timeline_obj = td->mentions_obj = NULL; 797 794 } 798 795 … … 804 801 struct twitter_data *td = ic->proto_data; 805 802 803 txl_free(td->home_timeline_obj); 806 804 td->home_timeline_obj = NULL; 807 805 td->flags &= ~TWITTER_GOT_TIMELINE; … … 839 837 struct twitter_data *td = ic->proto_data; 840 838 839 txl_free(td->mentions_obj); 841 840 td->mentions_obj = NULL; 842 841 td->flags &= ~TWITTER_GOT_MENTIONS;
Note: See TracChangeset
for help on using the changeset viewer.