Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-12-SP1:GA
util-linux.3352
util-linux-libmount-memleak.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File util-linux-libmount-memleak.patch of Package util-linux.3352
commit af86564357ca39b69bf91b615e412004e1fb5da0 Author: Karel Zak <kzak@redhat.com> Date: Fri Feb 12 13:09:28 2016 +0100 libmount: fix memleak in mnt_pretty_path() References: https://github.com/karelzak/util-linux/issues/275 Signed-off-by: Karel Zak <kzak@redhat.com> diff --git a/libmount/src/cache.c b/libmount/src/cache.c index eb6146d..b9b607b 100644 --- a/libmount/src/cache.c +++ b/libmount/src/cache.c @@ -635,6 +635,7 @@ char *mnt_pretty_path(const char *path, struct libmnt_cache *cache) if (loopcxt_is_autoclear(&lc)) { char *tmp = loopcxt_get_backing_file(&lc); if (tmp) { + loopcxt_deinit(&lc); if (!cache) free(pretty); /* not cached, deallocate */ return tmp; /* return backing file */
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