Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
xen.10697
537c790d-fix-memory-leak-in-libxl_cpuid_dispose...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 537c790d-fix-memory-leak-in-libxl_cpuid_dispose.patch of Package xen.10697
Subject: libxl: fix memory leak in libxl_cpuid_dispose From: Wei Liu wei.liu2@citrix.com Tue May 13 22:53:48 2014 +0100 Date: Wed May 21 10:59:41 2014 +0100: Git: e620f2dfa5ef288efcae0995cbf197bd79c364b6 libxl_cpuid_policy_list is not allocated with GC-aware allocation so it needs to be freed manually, just like what libxl_string_list_dispose and libxl_key_value_list_dispose do. Signed-off-by: Wei Liu <wei.liu2@citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Index: xen-4.4.3-testing/tools/libxl/libxl_cpuid.c =================================================================== --- xen-4.4.3-testing.orig/tools/libxl/libxl_cpuid.c +++ xen-4.4.3-testing/tools/libxl/libxl_cpuid.c @@ -26,6 +26,7 @@ void libxl_cpuid_dispose(libxl_cpuid_pol if (cpuid_list[i].policy[j] != NULL) free(cpuid_list[i].policy[j]); } + free(cpuid_list); return; }
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