Fix crash bug

master
teknomunk 5 months ago
parent a55af3fc94
commit afb6afd0ee

@ -864,7 +864,9 @@ void status_add_to_timeline( struct status* s, int account_id )
//printf( "Adding status %d to timeline for %s (%d/%d)\n", s->id, a->account_id, account_id, a->id );
struct timeline* tl = account_get_timeline(a);
timeline_add_post( tl, s );
if( tl ) {
timeline_add_post( tl, s );
}
timeline_free(tl);
account_free(a);

Loading…
Cancel
Save