mirror of
https://github.com/syncthing/syncthing.git
synced 2026-07-19 04:32:30 -04:00
The error path after bw.Flush() failed referenced fd.Close without calling it, so the descriptor was not closed when flush failed. Signed-off-by: Weixie Cui <cuiweixie@gmail.com>