From 3d78bd28265129fad557e76033d7022202d0a7b3 Mon Sep 17 00:00:00 2001 From: Burt P Date: Sat, 16 Dec 2017 13:05:55 -0600 Subject: x86: free uref Signed-off-by: Burt P --- modules/devices/x86/processor.c | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/devices/x86') 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); -- cgit v1.2.3