mirror of
https://github.com/syncthing/syncthing.git
synced 2026-06-27 09:55:43 -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>