diff options
| author | Jan Beulich <[email protected]> | 2021-09-07 14:04:25 +0200 |
|---|---|---|
| committer | Juergen Gross <[email protected]> | 2021-09-15 08:42:04 +0200 |
| commit | ce6a80d1b2f923b1839655a1cda786293feaa085 (patch) | |
| tree | a021d2ff413df93a31f6296dcdefaa0f05dfb506 /lib/test_fortify/write_overflow-strlcpy.c | |
| parent | 45da234467f381239d87536c86597149f189d375 (diff) | |
swiotlb-xen: avoid double free
Of the two paths leading to the "error" label in xen_swiotlb_init() one
didn't allocate anything, while the other did already free what was
allocated.
Fixes: b82776005369 ("xen/swiotlb: Use the swiotlb_late_init_with_tbl to init Xen-SWIOTLB late when PV PCI is used")
Signed-off-by: Jan Beulich <[email protected]>
Cc: [email protected]
Reviewed-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy.c')
0 files changed, 0 insertions, 0 deletions