[eog] EogUtil: Fix leaked parent handle in Flatpak portal code
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] EogUtil: Fix leaked parent handle in Flatpak portal code
- Date: Sat, 4 Jul 2020 16:51:59 +0000 (UTC)
commit b1d630d37df4dcca5b02c4c4ba6b7d4560a3ea3c
Author: Felix Riemann <friemann gnome org>
Date: Sat Jul 4 18:51:01 2020 +0200
EogUtil: Fix leaked parent handle in Flatpak portal code
src/eog-util.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/eog-util.c b/src/eog-util.c
index bd0c009a..02cc802c 100644
--- a/src/eog-util.c
+++ b/src/eog-util.c
@@ -544,5 +544,6 @@ eog_util_open_file_with_flatpak_portal (GFile *file, GtkWindow *window)
XDP_OPEN_URI_FLAG_ASK,
NULL,
open_with_flatpak_portal_cb,
- parent);
+ NULL);
+ xdp_parent_free (parent);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]