aboutsummaryrefslogtreecommitdiff
path: root/modules/devices/x86/processor.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/devices/x86/processor.c')
-rw-r--r--modules/devices/x86/processor.c1
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);