commit | 2ad88fb2c0ff57372406eff4df8dde020bf1a18d | [log] [tgz] |
---|---|---|
author | Glenn Ruben Bakke <glenn.ruben.bakke@nordicsemi.no> | Wed Jun 17 07:32:26 2015 -0700 |
committer | Marcel Holtmann <marcel@holtmann.org> | Wed Jun 17 19:17:58 2015 +0200 |
tree | 7c0f56b2e40e11609f2f0612c995d796a296fa66 | |
parent | fc84242f7a9731885ae70c0077816fa6fb19c4d5 [diff] |
Bluetooth: 6lowpan: Fix double kfree of netdev priv This patch removes the kfree of the netdev priv in device_event() upon NETDEV_UNREGISTER event. The freeing of memory is taken care of by the netdev destructor. Signed-off-by: Lukasz Duda <lukasz.duda@nordicsemi.no> Signed-off-by: Glenn Ruben Bakke <glenn.ruben.bakke@nordicsemi.no> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>