repo: Fix double close() in summary generation

Happened to notice this while doing a style port.

Closes: #849
Approved by: jlebon
This commit is contained in:
Colin Walters authored and Atomic Bot committed 2017-05-11 15:26:49 +00:00
1 parent e6f17b949d
commit 964ca9d434
1 file changed
+1
+1
View File
@@ -4582,6 +4582,7 @@ ostree_repo_regenerate_summary (OstreeRepo *self,
in_stream = g_unix_input_stream_new (superblock_file_fd, TRUE);
if (!in_stream)
goto out;
superblock_file_fd = -1; /* Transfer ownership */
if (!ot_gio_checksum_stream (in_stream,
&csum,