diff options
author | weiping zhang <[email protected]> | 2017-12-06 21:59:16 +0800 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2017-12-07 18:30:50 +0200 |
commit | 7eb781b1bbb7136fe78fb8c28c1c223c61fa32b5 (patch) | |
tree | 38ef83887dd988fe7ea05a07d0f3ec1ac8461c26 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d9e427f6ab8142d6868eb719e6a7851aafea56b6 (diff) |
virtio_mmio: add cleanup for virtio_mmio_probe
As mentioned at drivers/base/core.c:
/*
* NOTE: _Never_ directly free @dev after calling this function, even
* if it returned an error! Always use put_device() to give up the
* reference initialized in this function instead.
*/
so we don't free vm_dev until vm_dev.dev.release be called.
Signed-off-by: weiping zhang <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Cornelia Huck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions