Skip to content
Commit a43736cd authored by Lorenzo Bianconi's avatar Lorenzo Bianconi Committed by Felix Fietkau
Browse files

mt76: mt7915: fix possible memory leak in mt7915_mcu_add_sta



Free allocated skb in mt7915_mcu_add_sta routine in case of failures.

Fixes: 89bbd373 ("mt76: mt7915: rework starec TLV tags")
Signed-off-by: default avatarLorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 4e58ef4b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment