mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-19 22:50:35 +03:00
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);
|
||||
if (!in_stream)
|
||||
goto out;
|
||||
superblock_file_fd = -1; /* Transfer ownership */
|
||||
|
||||
if (!ot_gio_checksum_stream (in_stream,
|
||||
&csum,
|
||||
|
Loading…
x
Reference in New Issue
Block a user