Backport a patch that fixes a fairly large memory leak in gnome-software
This commit is contained in:
parent
0df18e4ad5
commit
9c30279458
26
0001-ref-Fix-a-memory-leak.patch
Normal file
26
0001-ref-Fix-a-memory-leak.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From 18a16227556ad0aa24f9b8c759d571fcc5cdb728 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Kalev Lember <klember@redhat.com>
|
||||||
|
Date: Fri, 14 Jun 2019 12:30:57 +0200
|
||||||
|
Subject: [PATCH] ref: Fix a memory leak
|
||||||
|
|
||||||
|
Closes: #2964
|
||||||
|
Approved by: mwleeds
|
||||||
|
---
|
||||||
|
common/flatpak-ref.c | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/common/flatpak-ref.c b/common/flatpak-ref.c
|
||||||
|
index 38554e97..6dacb19c 100644
|
||||||
|
--- a/common/flatpak-ref.c
|
||||||
|
+++ b/common/flatpak-ref.c
|
||||||
|
@@ -82,6 +82,7 @@ flatpak_ref_finalize (GObject *object)
|
||||||
|
g_free (priv->arch);
|
||||||
|
g_free (priv->branch);
|
||||||
|
g_free (priv->commit);
|
||||||
|
+ g_free (priv->collection_id);
|
||||||
|
|
||||||
|
G_OBJECT_CLASS (flatpak_ref_parent_class)->finalize (object);
|
||||||
|
}
|
||||||
|
--
|
||||||
|
2.21.0
|
||||||
|
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: flatpak
|
Name: flatpak
|
||||||
Version: 1.4.2
|
Version: 1.4.2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Application deployment framework for desktop apps
|
Summary: Application deployment framework for desktop apps
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -12,6 +12,9 @@ Source0: https://github.com/flatpak/flatpak/releases/download/%{version}/
|
|||||||
# Add Fedora flatpak repositories
|
# Add Fedora flatpak repositories
|
||||||
Source1: flatpak-add-fedora-repos.service
|
Source1: flatpak-add-fedora-repos.service
|
||||||
|
|
||||||
|
# Backported from upstream
|
||||||
|
Patch0: 0001-ref-Fix-a-memory-leak.patch
|
||||||
|
|
||||||
BuildRequires: pkgconfig(appstream-glib)
|
BuildRequires: pkgconfig(appstream-glib)
|
||||||
BuildRequires: pkgconfig(dconf)
|
BuildRequires: pkgconfig(dconf)
|
||||||
BuildRequires: pkgconfig(fuse)
|
BuildRequires: pkgconfig(fuse)
|
||||||
@ -260,6 +263,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 09 2019 Kalev Lember <klember@redhat.com> - 1.4.2-2
|
||||||
|
- Backport a patch that fixes a fairly large memory leak in gnome-software
|
||||||
|
|
||||||
* Fri Jun 28 2019 David King <amigadave@amigadave.com> - 1.4.2-1
|
* Fri Jun 28 2019 David King <amigadave@amigadave.com> - 1.4.2-1
|
||||||
- Update to 1.4.2 (#1725071)
|
- Update to 1.4.2 (#1725071)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user