Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:GA
powerpc-utils.8895
Revert-lsslot-free-lmb_list-on-error.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Revert-lsslot-free-lmb_list-on-error.patch of Package powerpc-utils.8895
From 422613e3fe9b32c05f0c0721b9c787eb4e7b64f0 Mon Sep 17 00:00:00 2001 From: Michal Suchanek <msuchanek@suse.de> Date: Wed, 21 Mar 2018 17:27:39 +0100 Subject: [PATCH] Revert "lsslot: free lmb_list on error" References: bsc#1086268 Patch-mainline: submitted https://groups.google.com/forum/#!topic/powerpc-utils-devel/ohYJgO5fToU This reverts commit e6f476d32c33f5b8e364f930c467785495eeb0ce. --- src/drmgr/lsslot.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/drmgr/lsslot.c b/src/drmgr/lsslot.c index 878ca6973889..d297af9af251 100644 --- a/src/drmgr/lsslot.c +++ b/src/drmgr/lsslot.c @@ -798,10 +798,9 @@ int lsslot_chrp_mem(void) int lmb_offset = strlen(OFDT_BASE); lmb_list = get_lmbs(LMB_NORMAL_SORT); - if (lmb_list == NULL || lmb_list->lmbs == NULL) { - free_lmbs(lmb_list); + if (lmb_list == NULL || lmb_list->lmbs == NULL) return -1; - } + if (lmb_list->drconf_buf) { print_drconf_mem(lmb_list); -- 2.13.6
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