Commit 542685c
committed
nvme: fix mem leak in nvme copy
Valgrind revealed a mem leak in copy_cmd() due to the copy pointer
not getting freed after usage. Fix the same.
Signed-off-by: Martin George <[email protected]>1 parent 438304a commit 542685c
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7446 | 7446 | | |
7447 | 7447 | | |
7448 | 7448 | | |
7449 | | - | |
| 7449 | + | |
7450 | 7450 | | |
7451 | 7451 | | |
7452 | 7452 | | |
7453 | 7453 | | |
7454 | | - | |
| 7454 | + | |
7455 | 7455 | | |
7456 | 7456 | | |
7457 | 7457 | | |
| |||
0 commit comments