Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Update
libfm
libfm-Additional-fix-after-SF902.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libfm-Additional-fix-after-SF902.patch of Package libfm
From eaeebfe47253844e5d5ca9e8ab6109b5ec0a9cbc Mon Sep 17 00:00:00 2001 From: Andriy Grytsenko <andrej@rep.kiev.ua> Date: Thu, 23 Oct 2014 20:27:58 +0300 Subject: [PATCH] Additional fix after previous commit. --- src/base/fm-templates.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/base/fm-templates.c b/src/base/fm-templates.c index 062b606..cfc7b82 100644 --- a/src/base/fm-templates.c +++ b/src/base/fm-templates.c @@ -682,7 +682,8 @@ static void on_dir_changed(GFileMonitor *mon, GFile *gf, GFile *other, g_warning("could not guess type of template %s, ignoring it", basename); } - fm_mime_type_unref(mime_type); + if (G_LIKELY(mime_type)) + fm_mime_type_unref(mime_type); } else g_debug("templates monitor: duplicate file %s", basename); -- 2.1.4
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