diff options
author | Tanmay Bhushan <[email protected]> | 2022-12-27 22:02:16 +0100 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2023-01-27 06:18:41 -0500 |
commit | 6b04456e248761cf68f562f2fd7c04e591fcac94 (patch) | |
tree | 820d64b064b5586f036cac3bcad10dc9ba75b983 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 6dd88fd59da84631b5fe5c8176931c38cfa3b265 (diff) |
vdpa: ifcvf: Do proper cleanup if IFCVF init fails
ifcvf_mgmt_dev leaks memory if it is not freed before
returning. Call is made to correct return statement
so memory does not leak. ifcvf_init_hw does not take
care of this so it is needed to do it here.
Signed-off-by: Tanmay Bhushan <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Acked-by: Jason Wang <[email protected]>
Acked-by: Zhu Lingshan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions