Hello community, here is the log from the commit of package xfdesktop for openSUSE:Leap:15.2 checked in at 2020-04-17 13:36:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/xfdesktop (Old) and /work/SRC/openSUSE:Leap:15.2/.xfdesktop.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xfdesktop" Fri Apr 17 13:36:56 2020 rev:14 rq:793886 version:4.14.2 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/xfdesktop/xfdesktop.changes 2020-01-15 16:30:36.408827245 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.xfdesktop.new.2738/xfdesktop.changes 2020-04-17 13:36:57.312193332 +0200 @@ -1,0 +2,6 @@ +Thu Apr 9 13:53:48 UTC 2020 - Jonas Kvinge <[email protected]> + +- Add xfce-backdrop.patch for bxo#16314 - Possible memory leak + in xfdesktop when connecting and disconnecting DP monitor. + +------------------------------------------------------------------- New: ---- xfce-backdrop.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xfdesktop.spec ++++++ --- /var/tmp/diff_new_pack.oAoO3r/_old 2020-04-17 13:36:58.204194003 +0200 +++ /var/tmp/diff_new_pack.oAoO3r/_new 2020-04-17 13:36:58.208194006 +0200 @@ -29,6 +29,8 @@ Patch0: xfdesktop-backgrounds-path.patch # PATCH-FEATURE-OPENSUSE xfdesktop-default-backdrop-image.patch [email protected] -- Sets the default background image to a symlink that is delivered by branding packages Patch1: xfdesktop-default-background-image.patch +# PATCH-FIX-UPSTREAM xfce-backdrop.patch [email protected] -- Backport fix for bxo#16314 - Possible memory leak in xfdesktop when connecting and disconnecting DP monitor. +Patch2: xfce-backdrop.patch BuildRequires: fdupes BuildRequires: intltool BuildRequires: update-desktop-files ++++++ xfce-backdrop.patch ++++++ >From bd6cd3ce62057370a9e7c6699e52385f479e3390 Mon Sep 17 00:00:00 2001 From: Jan Ziak <[email protected]> Date: Sat, 11 Apr 2020 15:43:55 +0200 Subject: Fix memory leak when reconnecting DP monitor (Bug #16314) Signed-off-by: Jan Ziak <[email protected]> --- src/xfce-backdrop.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/xfce-backdrop.c b/src/xfce-backdrop.c index bd9180e6..955e51f8 100644 --- a/src/xfce-backdrop.c +++ b/src/xfce-backdrop.c @@ -1599,6 +1599,11 @@ xfce_backdrop_image_data_release(XfceBackdropImageData *image_data) if(image_data->loader) g_object_unref(image_data->loader); + + if(image_data->backdrop) { + g_object_unref(image_data->backdrop); + image_data->backdrop = NULL; + } } /** @@ -1671,6 +1676,7 @@ xfce_backdrop_generate_async(XfceBackdrop *backdrop) backdrop->priv->image_data = image_data; image_data->backdrop = backdrop; + g_object_ref(backdrop); image_data->loader = gdk_pixbuf_loader_new(); image_data->cancellable = g_cancellable_new(); image_data->image_buffer = g_new0(guchar, XFCE_BACKDROP_BUFFER_SIZE); -- cgit v1.2.3
