mirror of
https://github.com/syncthing/syncthing.git
synced 2026-04-05 07:03:48 -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>