Parent: f59bdb51b16d2a3f8dbff7705c8534d94818ebdc
Author: Jaganath Kanakkassery <jaganath.k@samsung.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-04-02 09:47:14
Tree: 27f220e7ea82e0bdcdb5dbd2231a4fa87a6177b7
attrib: Fix use after free of attrib If attrib is freed in cmd->func(), then it will be used if either request or response queue has some data to send. This patch moves calling wake_up_sender() which increases the ref count of attrib so that it wont get freed in cmd->func().
Diffstat
| M | attrib/gattrib.c | | | 8 | ++++- - - - |
1 files changed, 4 insertions(+), 4 deletions(-)