diff options
| author | Hemant Kumar <hemantk@codeaurora.org> | 2016-08-02 17:54:40 -0700 |
|---|---|---|
| committer | Hemant Kumar <hemantk@codeaurora.org> | 2016-08-02 18:38:24 -0700 |
| commit | 442ec18acdb46caa0501d75129846ed64a6d8c23 (patch) | |
| tree | 0fc44688254dc26b677758890227f38b45a0942d /scripts/build-all.py | |
| parent | 9d9cf7636c0d822c28f71b4c16de67a6e12061e8 (diff) | |
usb: gadget: f_cdev: Fix memory leak upon composition switch
Driver allocates notify request in function bind() callback
but frees it in function disable() callback. Upon composition
switch adb daemon gets restarted causing function bind/unbind
to happen twice. This results into allocating notify request
memory twice and only freeing it once either upon disconnect
or next composition switch. Fix the issue freeing memory in
function unbind callback.
Change-Id: I7716cff99b824b55e48aea57b9da91c16a8ecac1
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Diffstat (limited to 'scripts/build-all.py')
0 files changed, 0 insertions, 0 deletions
