diff options
author | Pavel Skripkin <[email protected]> | 2021-07-01 22:55:00 +0300 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2021-07-15 10:19:40 -0400 |
commit | 004d62eb4e57db3c391ed0df007cc11c93b6fbeb (patch) | |
tree | 9c2d08dc7ed7666f7bc01b51623b03b6801d7d1d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7234c362ccb3c2228f06f19f93b132de9cfa7ae4 (diff) |
kvm: debugfs: fix memory leak in kvm_create_vm_debugfs
In commit bc9e9e672df9 ("KVM: debugfs: Reuse binary stats descriptors")
loop for filling debugfs_stat_data was copy-pasted 2 times, but
in the second loop pointers are saved over pointers allocated
in the first loop. All this causes is a memory leak, fix it.
Fixes: bc9e9e672df9 ("KVM: debugfs: Reuse binary stats descriptors")
Signed-off-by: Pavel Skripkin <[email protected]>
Reviewed-by: Jing Zhang <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Jing Zhang <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions