summaryrefslogtreecommitdiffstats
path: root/debian/patches/mime-actions-Don-t-leak-error.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 15:59:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 15:59:37 +0000
commitbb0294a65b2f929503d735a2a1e85612295a4376 (patch)
tree0491aba2d2376789ff2165f790859e1df8410c28 /debian/patches/mime-actions-Don-t-leak-error.patch
parentAdding upstream version 3.38.2. (diff)
downloadnautilus-debian.tar.xz
nautilus-debian.zip
Adding debian version 3.38.2-1+deb11u1.debian/3.38.2-1+deb11u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/patches/mime-actions-Don-t-leak-error.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/mime-actions-Don-t-leak-error.patch b/debian/patches/mime-actions-Don-t-leak-error.patch
new file mode 100644
index 0000000..3c419bb
--- /dev/null
+++ b/debian/patches/mime-actions-Don-t-leak-error.patch
@@ -0,0 +1,22 @@
+From: =?utf-8?q?Ant=C3=B3nio_Fernandes?= <antoniof@gnome.org>
+Date: Wed, 30 Dec 2020 17:44:59 +0000
+Subject: mime-actions: Don't leak error
+
+Origin: upstream, 40.rc, commit:82da3192d71dd152ea27f0f8a2aa8b89befaf63d
+---
+ src/nautilus-mime-actions.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/nautilus-mime-actions.c b/src/nautilus-mime-actions.c
+index 3ef3ae8..ae5b805 100644
+--- a/src/nautilus-mime-actions.c
++++ b/src/nautilus-mime-actions.c
+@@ -1511,7 +1511,7 @@ launch_default_for_uris_callback (GObject *source_object,
+ ApplicationLaunchAsyncParameters *params;
+ ActivateParameters *activation_params;
+ char *uri;
+- GError *error = NULL;
++ g_autoptr (GError) error = NULL;
+
+ params = user_data;
+ activation_params = params->activation_params;