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:
OpenShift Merge Robot 2021-03-09 14:27:50 +01:00 committed by GitHub
commit 8459d52fbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -6674,7 +6674,7 @@ ostree_repo_remote_fetch_summary_with_options (OstreeRepo *self,
return FALSE;
}
if (signatures)
if (signatures && !summary)
{
if (!_ostree_repo_load_cache_summary_if_same_sig (self,
name,