Merge pull request #2292 from pwithnall/summary-leak
ostree-repo-pull: Fix a leak of the summary data if loading from cache
This commit is contained in:
commit
8459d52fbc
|
|
@ -6674,7 +6674,7 @@ ostree_repo_remote_fetch_summary_with_options (OstreeRepo *self,
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (signatures)
|
if (signatures && !summary)
|
||||||
{
|
{
|
||||||
if (!_ostree_repo_load_cache_summary_if_same_sig (self,
|
if (!_ostree_repo_load_cache_summary_if_same_sig (self,
|
||||||
name,
|
name,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue