Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:15.5:Update
acl.9183
0026-getfacl-Fix-memory-leak.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0026-getfacl-Fix-memory-leak.patch of Package acl.9183
From 5d8de21bef5ee62ebca93ae81515b6065626e559 Mon Sep 17 00:00:00 2001 From: Andreas Gruenbacher <andreas.gruenbacher@gmail.com> Date: Thu, 16 Jul 2015 14:04:20 +0200 Subject: [PATCH 26/34] getfacl: Fix memory leak Reported by Andreas Stieger <astieger@suse.com> (https://bugzilla.suse.com/show_bug.cgi?id=929108): Fix a memory leak in getfacl (allocated acl not being freed). --- tools/getfacl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/getfacl.c b/tools/getfacl.c index 679affa..e44b572 100644 --- a/tools/getfacl.c +++ b/tools/getfacl.c @@ -477,7 +477,7 @@ int do_print(const char *path_p, const struct stat *st, int walk_flags, void *un if (opt_skip_base && (!acl || acl_equiv_mode(acl, NULL) == 0) && !default_acl) - return 0; + goto cleanup; if (opt_print_acl && opt_print_default_acl) default_prefix = "default:"; -- 2.5.2
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