Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.2
seed
0001-seed_script_destroy-only-unref-source_url-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-seed_script_destroy-only-unref-source_url-if-it-exis.patch of Package seed
From 96e375f91cdeb48dc4d5da7f24d4ce0f8a1b54e9 Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> Date: Wed, 12 Jun 2013 11:10:12 +0200 Subject: [PATCH] seed_script_destroy: only unref source_url if it exists Fixes a crash when creating a script with a NULL source_url, which is documented to be fine. https://bugzilla.gnome.org/show_bug.cgi?id=702082 --- libseed/seed-api.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libseed/seed-api.c b/libseed/seed-api.c index ced6704..79d61cb 100644 --- a/libseed/seed-api.c +++ b/libseed/seed-api.c @@ -415,7 +415,8 @@ void seed_script_destroy (SeedScript * s) { seed_string_unref (s->script); - seed_string_unref (s->source_url); + if (s->source_url) + seed_string_unref (s->source_url); g_free (s); } -- 1.8.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