mirror of
https://github.com/go-gitea/gitea.git
synced 2025-03-25 10:46:39 +08:00

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>