diff options
author | 2017-04-24 13:24:16 -0400 | |
---|---|---|
committer | 2017-04-25 20:00:59 +0200 | |
commit | de41447aac034c4acc8d9d1ddbdcb7ce4e8a3f6f (patch) | |
tree | bef80837e850eee8e11f7a695e2e8cb212d171b6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | lpfc: Fix memory corruption of the lpfc_ncmd->list pointers (diff) | |
download | wireguard-linux-de41447aac034c4acc8d9d1ddbdcb7ce4e8a3f6f.tar.xz wireguard-linux-de41447aac034c4acc8d9d1ddbdcb7ce4e8a3f6f.zip |
nvme-fc: avoid memory corruption caused by calling nvmf_free_options() twice
Do not call nvmf_free_options() from the nvme_fc_ctlr destructor if
nvme_fc_create_ctrl() returns an error, because nvmf_create_ctrl()
frees the options when an error is returned.
Signed-off-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions