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:
Colin Walters committed 2013-09-11 10:58:22 -04:00
1 parent c8744beb17
commit 0238a2c26c
1 file changed
+3
+3
View File
@@ -502,6 +502,9 @@ checkout_one_file_at (OstreeRepo *repo,
goto out;
}
}
if (!g_input_stream_close (input, cancellable, error))
goto out;
}
ret = TRUE;