diff options
author | Tim Hosey <timhoseydev@gmail.com> | 2018-01-04 02:58:05 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2018-01-04 02:58:05 +0100 |
commit | 67a8858b945944cc94baf9a2f6e4516bc283656b (patch) | |
tree | f16d0fc3d36df90ef7a5d88e418d23abe1bc60b4 /lib | |
parent | 5a4b6fd237ebab03001f55a06cdf2a59d4ca3566 (diff) | |
download | jgit-67a8858b945944cc94baf9a2f6e4516bc283656b.tar.gz jgit-67a8858b945944cc94baf9a2f6e4516bc283656b.zip |
Fix file handle leak in FetchCommand#fetchSubmodules
The private fetchSubmodules method in the FetchCommand class creates a
Repository instance for each submodule being fetched, but never calls
closes on it.
This leads to the leaking of file handles.
Bug: 526494
Change-Id: I7070388b8b62063d9d5cd31afae3015a8388044f
Signed-off-by: Tim Hosey <timhoseydev@gmail.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions