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:
parent
e6f17b949d
commit
964ca9d434
|
|
@ -4582,6 +4582,7 @@ ostree_repo_regenerate_summary (OstreeRepo *self,
|
||||||
in_stream = g_unix_input_stream_new (superblock_file_fd, TRUE);
|
in_stream = g_unix_input_stream_new (superblock_file_fd, TRUE);
|
||||||
if (!in_stream)
|
if (!in_stream)
|
||||||
goto out;
|
goto out;
|
||||||
|
superblock_file_fd = -1; /* Transfer ownership */
|
||||||
|
|
||||||
if (!ot_gio_checksum_stream (in_stream,
|
if (!ot_gio_checksum_stream (in_stream,
|
||||||
&csum,
|
&csum,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue