Hello community, here is the log from the commit of package gnome-photos for openSUSE:Factory checked in at 2018-12-19 13:23:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnome-photos (Old) and /work/SRC/openSUSE:Factory/.gnome-photos.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gnome-photos" Wed Dec 19 13:23:13 2018 rev:46 rq:656601 version:3.30.1 Changes: -------- --- /work/SRC/openSUSE:Factory/gnome-photos/gnome-photos.changes 2018-11-06 13:52:57.092369942 +0100 +++ /work/SRC/openSUSE:Factory/.gnome-photos.new.28833/gnome-photos.changes 2018-12-19 13:23:14.893394212 +0100 @@ -1,0 +2,6 @@ +Fri Dec 7 16:23:18 UTC 2018 - bjorn.lie@gmail.com + +- Add facebook-item-Dont-leak-the-GFBGraphGoaAuthorizer.patch: + facebook-item: Don't leak the GFBGraphGoaAuthorizer. + +------------------------------------------------------------------- New: ---- facebook-item-Dont-leak-the-GFBGraphGoaAuthorizer.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-photos.spec ++++++ --- /var/tmp/diff_new_pack.QeYTbB/_old 2018-12-19 13:23:16.393392383 +0100 +++ /var/tmp/diff_new_pack.QeYTbB/_new 2018-12-19 13:23:16.397392378 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -26,6 +26,8 @@ Source0: https://download.gnome.org/sources/gnome-photos/3.30/%{name}-%{version}.tar.xz # PATCH-FIX-UPSTREAM gnome-photos-on-demand-activate-dleyna.patch bsc#992420, glgo#GNOME/gnome-photos#75 sckang@suse.com -- Activate dleyna-renderer-service on demand instead of on start-up. Patch0: gnome-photos-on-demand-activate-dleyna.patch +# PATCH-FIX-UPSTREAM facebook-item-Dont-leak-the-GFBGraphGoaAuthorizer.patch -- facebook-item: Don't leak the GFBGraphGoaAuthorizer +Patch1: facebook-item-Dont-leak-the-GFBGraphGoaAuthorizer.patch BuildRequires: desktop-file-utils BuildRequires: fdupes ++++++ facebook-item-Dont-leak-the-GFBGraphGoaAuthorizer.patch ++++++
From 3ce7228d421cbc0f913ffda27b3faccaa435c6f4 Mon Sep 17 00:00:00 2001 From: Debarshi Ray
Date: Tue, 2 Oct 2018 10:21:37 +0200 Subject: [PATCH] facebook-item: Don't leak the GFBGraphGoaAuthorizer
Fallout from e3f3fe436790907e55a4796f70953f951e6d8026 https://gitlab.gnome.org/GNOME/gnome-photos/merge_requests/63 --- src/photos-facebook-item.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/photos-facebook-item.c b/src/photos-facebook-item.c index 33c9efc0..5d7f27df 100644 --- a/src/photos-facebook-item.c +++ b/src/photos-facebook-item.c @@ -107,7 +107,7 @@ static GFBGraphPhoto * photos_facebook_get_gfbgraph_photo (PhotosBaseItem *item, GCancellable *cancellable, GError **error) { PhotosFacebookItem *self = PHOTOS_FACEBOOK_ITEM (item); - GFBGraphGoaAuthorizer *authorizer; + GFBGraphGoaAuthorizer *authorizer = NULL; /* TODO: use g_autoptr */ GFBGraphPhoto *photo = NULL; GoaObject *object; PhotosSource *source; @@ -129,6 +129,7 @@ photos_facebook_get_gfbgraph_photo (PhotosBaseItem *item, GCancellable *cancella photo = gfbgraph_photo_new_from_id (GFBGRAPH_AUTHORIZER (authorizer), identifier, error); out: + g_clear_object (&authorizer); return photo; } -- 2.18.1