Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP1
gnome-photos
gnome-photos-Dont-leak-thumbnailer-path-string....
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-photos-Dont-leak-thumbnailer-path-string.patch of Package gnome-photos
From 88a18f26b3ff979067162f1bdfceabd1d0fa2965 Mon Sep 17 00:00:00 2001 From: Debarshi Ray <debarshir@gnome.org> Date: Mon, 1 Jan 2018 14:14:46 +0100 Subject: [PATCH] thumbnail-factory: Don't leak the thumbnailer path string --- src/photos-thumbnail-factory.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/photos-thumbnail-factory.c b/src/photos-thumbnail-factory.c index bc84500..522c522 100644 --- a/src/photos-thumbnail-factory.c +++ b/src/photos-thumbnail-factory.c @@ -440,13 +440,15 @@ photos_thumbnail_factory_generate_thumbnail (PhotosThumbnailFactory *self, "--address", address, NULL); + + g_free (thumbnailer_path); + if (local_error != NULL) goto out; g_mutex_unlock (&self->mutex_connection); mutex_connection_unlocked = TRUE; - g_free (thumbnailer_path); g_object_unref (subprocess); } -- libgit2 0.26.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor