diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-03-09 14:27:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-09 14:27:50 +0100 |
commit | 8459d52fbca89b98fdf1d4955d34c2ee5ea7fcd6 (patch) | |
tree | 1014d95b91b90ee116540f2aefb45159843bcdc6 | |
parent | f9a38436fa10c10f6904c138d28c96efd212bfb0 (diff) | |
parent | 60881b75ecb4166c89bb9b3392b5126557aaa6f0 (diff) | |
download | ostree-8459d52fbca89b98fdf1d4955d34c2ee5ea7fcd6.tar.gz |
Merge pull request #2292 from pwithnall/summary-leak
ostree-repo-pull: Fix a leak of the summary data if loading from cache
-rw-r--r-- | src/libostree/ostree-repo-pull.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libostree/ostree-repo-pull.c b/src/libostree/ostree-repo-pull.c index a95190a5..6c5bffcf 100644 --- a/src/libostree/ostree-repo-pull.c +++ b/src/libostree/ostree-repo-pull.c @@ -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, |