mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
xenpm: Fix an error path.
Signed-off-by: Jinsong Liu <jinsong.liu@intel.com>
This commit is contained in:
1 parent
f1a4dd1545
commit
925f5786c7
1 file changed
+1
-1
+1
-1
@@ -170,7 +170,7 @@ int main(int argc, char **argv)
|
||||
if ( !pxstat->pt )
|
||||
{
|
||||
fprintf(stderr, "failed to malloc for P-states table\n");
|
||||
free(pxstat->pt);
|
||||
free(pxstat->trans_pt);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||