mirror of
https://github.com/go-gitea/gitea
synced 2025-01-22 09:37:46 +01:00
0767fe0d80
The lastLeftIdx should be reset at the same time as creating a new section otherwise it is possible for a second addition to end up attempting to read a nil entry. Fix #16943 Signed-off-by: Andrew Thornton <art27@cantab.net>