Allocate space to prevent SIGSEGV.
This commit is contained in:
parent
adff0e83b9
commit
2f161cfa50
1 changed files with 1 additions and 1 deletions
|
@ -389,7 +389,7 @@ func (c *Client) GetTimelineDirect(ctx context.Context, pg *Pagination) ([]*Stat
|
|||
return nil, err
|
||||
}
|
||||
|
||||
var statuses []*Status
|
||||
var statuses = make([]*Status, len(conversations))
|
||||
|
||||
for _, c := range conversations {
|
||||
s := c.LastStatus
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue