Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:Update
mdadm.7129
0013-Assemble-Remove-unnecesary-NULL-pointer-ch...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0013-Assemble-Remove-unnecesary-NULL-pointer-checks-when-.patch of Package mdadm.7129
From 30e19bf805563305068ec856ab24cf2f350c44f8 Mon Sep 17 00:00:00 2001 From: Jes Sorensen <Jes.Sorensen@redhat.com> Date: Mon, 7 Mar 2016 12:09:12 -0500 Subject: [PATCH 234/359] Assemble: Remove unnecesary NULL pointer checks when calling sysfs_free() References: bsc#1081910 Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Coly Li <colyli@suse.de> --- Assemble.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Assemble.c b/Assemble.c index d199afc..8039f32 100644 --- a/Assemble.c +++ b/Assemble.c @@ -1896,8 +1896,7 @@ int assemble_container_content(struct supertype *st, int mdfd, content->text_version[0] == '/') content->text_version[0] = '-'; if (sysfs_set_array(content, md_get_version(mdfd)) != 0) { - if (sra) - sysfs_free(sra); + sysfs_free(sra); return 1; } } -- 2.16.1
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