summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2014-10-01 11:30:57 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2014-10-02 13:41:32 +0300
commita7807d73a0fa9b33dbdfd5f1cb97970ccc91d77e (patch)
treeb1b369c0f169d5c16d21f3cbe2bf998649dd4796 /Documentation
parentfc12518a4bcbd4214652291df76f692343bca3d5 (diff)
downloadblackbird-op-linux-a7807d73a0fa9b33dbdfd5f1cb97970ccc91d77e.tar.gz
blackbird-op-linux-a7807d73a0fa9b33dbdfd5f1cb97970ccc91d77e.zip
Bluetooth: 6lowpan: Avoid memory leak if memory allocation fails
If skb_unshare() returns NULL, then we leak the original skb. Solution is to use temp variable to hold the new skb. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud