numa: Fixed the memory leak of numa error message
commit2920bd644e8c2d21636a959a0cc717600913ad03
authorZhang Yi <yi.z.zhang@linux.intel.com>
Wed, 2 Jan 2019 05:25:56 +0000 (2 13:25 +0800)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 28 Jan 2019 17:52:05 +0000 (28 15:52 -0200)
treebe11a96a82994eb814fef34a99da406165ac9e5e
parent5f39a91dbd9a186edb999afd4d17524f4b1da14f
numa: Fixed the memory leak of numa error message

object_get_canonical_path_component() returns a string which
must be freed using g_free().

Signed-off-by: Zhang Yi <yi.z.zhang@linux.intel.com>
Reviewed-by: Pankaj gupta <pagupta@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <51ba6d7d0333a5517d824a870dd20887156dd15a.1546399191.git.yi.z.zhang@linux.intel.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
numa.c