Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package flatpak-xdg-utils for 
openSUSE:Factory checked in at 2022-07-19 17:20:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/flatpak-xdg-utils (Old)
 and      /work/SRC/openSUSE:Factory/.flatpak-xdg-utils.new.1523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "flatpak-xdg-utils"

Tue Jul 19 17:20:07 2022 rev:3 rq:990254 version:1.0.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/flatpak-xdg-utils/flatpak-xdg-utils.changes      
2022-03-23 20:19:09.502489237 +0100
+++ 
/work/SRC/openSUSE:Factory/.flatpak-xdg-utils.new.1523/flatpak-xdg-utils.changes
    2022-07-19 17:20:38.768469359 +0200
@@ -1,0 +2,6 @@
+Fri Jul 15 17:41:00 UTC 2022 - Bj??rn Lie <[email protected]>
+
+- Add 264052bbf52899410421454150c493264bd1a696.patch:
+  flatpak-spawn: Fix memory leak when receiving NameOwnerChanged.
+
+-------------------------------------------------------------------

New:
----
  264052bbf52899410421454150c493264bd1a696.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ flatpak-xdg-utils.spec ++++++
--- /var/tmp/diff_new_pack.Wy23ob/_old  2022-07-19 17:20:39.148469866 +0200
+++ /var/tmp/diff_new_pack.Wy23ob/_new  2022-07-19 17:20:39.152469871 +0200
@@ -23,6 +23,8 @@
 License:        LGPL-2.1-or-later
 URL:            https://github.com/flatpak/flatpak-xdg-utils
 Source:         %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM 264052bbf52899410421454150c493264bd1a696.patch -- 
flatpak-spawn: Fix memory leak when receiving NameOwnerChanged
+Patch:          %{url}/commit/264052bbf52899410421454150c493264bd1a696.patch
 
 BuildRequires:  c_compiler
 BuildRequires:  meson
@@ -44,7 +46,7 @@
 Flatpak sandboxes. They work by talking to portals.
 
 %prep
-%autosetup
+%autosetup -p1
 
 %build
 %meson

++++++ 264052bbf52899410421454150c493264bd1a696.patch ++++++
>From 264052bbf52899410421454150c493264bd1a696 Mon Sep 17 00:00:00 2001
From: Simon McVittie <[email protected]>
Date: Fri, 10 Jun 2022 17:25:17 +0100
Subject: [PATCH] flatpak-spawn: Fix memory leak when receiving
 NameOwnerChanged

Signed-off-by: Simon McVittie <[email protected]>
---
 src/flatpak-spawn.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/flatpak-spawn.c b/src/flatpak-spawn.c
index 2bdd76d..18c0891 100644
--- a/src/flatpak-spawn.c
+++ b/src/flatpak-spawn.c
@@ -284,7 +284,7 @@ name_owner_changed (G_GNUC_UNUSED GDBusConnection 
*connection,
                     G_GNUC_UNUSED gpointer         user_data)
 {
   const char *name, *from, *to;
-  g_variant_get (parameters, "(sss)", &name, &from, &to);
+  g_variant_get (parameters, "(&s&s&s)", &name, &from, &to);
 
   /* Check if the service dies, then we exit, because we can't track it 
anymore */
   if (strcmp (name, service_bus_name) == 0 &&

Reply via email to