diff options
author | Burt P <pburt0@gmail.com> | 2017-12-16 13:05:55 -0600 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2018-02-27 07:43:20 -0800 |
commit | 3d78bd28265129fad557e76033d7022202d0a7b3 (patch) | |
tree | 61e10706e304465f3b36b69738d8f0d8b7d8a59c /modules/devices/x86 | |
parent | 9d126592569f7aabbf4d5125930a461f8aa64a7f (diff) |
x86: free uref
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'modules/devices/x86')
-rw-r--r-- | modules/devices/x86/processor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/devices/x86/processor.c b/modules/devices/x86/processor.c index a3f6b9fe..f1c2b6e9 100644 --- a/modules/devices/x86/processor.c +++ b/modules/devices/x86/processor.c @@ -226,6 +226,7 @@ static void __cache_obtain_info(Processor *processor) cache->uid = atoi(uref); else cache->uid = -1; + g_free(uref); entry = g_strconcat(index, "shared_cpu_list", NULL); cache->shared_cpu_list = h_sysfs_read_string(endpoint, entry); g_free(entry); |