commit | cdc52faac5f341beaff036828b9459f7c8dd7296 | [log] [tgz] |
---|---|---|
author | Marcel Holtmann <marcel@holtmann.org> | Sun Jul 06 15:36:15 2014 +0200 |
committer | Johan Hedberg <johan.hedberg@intel.com> | Sun Jul 06 17:10:47 2014 +0300 |
tree | e237795b4ecd5a27d3c552bb5ddd1ffbe0e68163 | |
parent | d92f2df0565ea04101d6ac04bdc10feeb1d93c94 [diff] |
Bluetooth: Fix memory leaking when hdev->send returns an error The drivers are allowed to just return an error from hdev->send callback and in that case the driver does not own the SKB. Which means that the caller has to free the SKB. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>