aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorJosé Expósito <[email protected]>2021-12-08 23:37:23 +0100
committerJakub Kicinski <[email protected]>2021-12-09 07:58:41 -0800
commit9acfc57fa2b8944ed079cedbf846823ea32b8a31 (patch)
treeeb9e6e7176772763355d37f1176e932500b1af00 /scripts/bpf_doc.py
parentae68d93354e5bf5191ee673982251864ea24dd5c (diff)
net: mana: Fix memory leak in mana_hwc_create_wq
If allocating the DMA buffer fails, mana_hwc_destroy_wq was called without previously storing the pointer to the queue. In order to avoid leaking the pointer to the queue, store it as soon as it is allocated. Addresses-Coverity-ID: 1484720 ("Resource leak") Signed-off-by: José Expósito <[email protected]> Reviewed-by: Dexuan Cui <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions