checkout: Fix file descriptor leak for copying checkouts
Hardlink checkouts didn't hit this, but we need to close the input stream.
This commit is contained in:
1 parent
c8744beb17
commit
0238a2c26c
1 file changed
+3
@@ -502,6 +502,9 @@ checkout_one_file_at (OstreeRepo *repo,
|
||||
goto out;
|
||||
}
|
||||
}
|
||||
|
||||
if (!g_input_stream_close (input, cancellable, error))
|
||||
goto out;
|
||||
}
|
||||
|
||||
ret = TRUE;
|
||||
|
||||
Reference in new issue
Block a user