diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-11-07 17:00:39 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-11-07 17:00:39 +0000 |
commit | 925f5786c741fdfb9d7b906eae5c62db783a14aa (patch) | |
tree | 1149b438c2833c28f9e2e49011a66e2a37478196 /tools/misc/xenpm.c | |
parent | f1a4dd154546119863e07bea60a405243d22969e (diff) | |
download | xen-925f5786c741fdfb9d7b906eae5c62db783a14aa.tar.gz xen-925f5786c741fdfb9d7b906eae5c62db783a14aa.tar.bz2 xen-925f5786c741fdfb9d7b906eae5c62db783a14aa.zip |
xenpm: Fix an error path.
Signed-off-by: Jinsong Liu <jinsong.liu@intel.com>
Diffstat (limited to 'tools/misc/xenpm.c')
-rw-r--r-- | tools/misc/xenpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/misc/xenpm.c b/tools/misc/xenpm.c index 618aa27a84..ace72b4216 100644 --- a/tools/misc/xenpm.c +++ b/tools/misc/xenpm.c @@ -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; } |