diff options
author | Alexander Larsson <alexl@redhat.com> | 2019-12-20 10:51:49 +0100 |
---|---|---|
committer | Alexander Larsson <alexander.larsson@gmail.com> | 2019-12-20 11:15:39 +0100 |
commit | 681ca8854765aba9eae78369f07e4185f89fd5c3 (patch) | |
tree | 9a8d5269a251d13f6a2d650ae8f835ea10f931ba | |
parent | 202b2508d51cbe452a41c725bca6a1ddad47f2f4 (diff) | |
download | flatpak-681ca8854765aba9eae78369f07e4185f89fd5c3.tar.gz |
oci: Fix leak in index handling
-rw-r--r-- | common/flatpak-json-oci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/flatpak-json-oci.c b/common/flatpak-json-oci.c index 42f1b1a6..6d60279d 100644 --- a/common/flatpak-json-oci.c +++ b/common/flatpak-json-oci.c @@ -549,6 +549,8 @@ flatpak_oci_index_remove_manifest (FlatpakOciIndex *self, if (i < 0) return FALSE; + flatpak_oci_manifest_descriptor_free (self->manifests[i]); + for (; self->manifests[i] != NULL; i++) self->manifests[i] = self->manifests[i + 1]; |