Skip to content
Commit 800ed722 authored by Johan Hedberg's avatar Johan Hedberg
Browse files

Bluetooth: Fix buffer leak when HCI driver send() fails



If the driver send() fails we need to free up bt_dev.sent_cmd.

Change-Id: I41b6293dfe09f1d94d7f85663ddbebed40cf6e90
Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent 658ea8cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment