commit | a1258718e7a734c57302f36bfbde39597f341e49 | [log] [tgz] |
---|---|---|
author | Hemant Kumar <hemantk@codeaurora.org> | Mon May 02 10:46:49 2016 -0700 |
committer | Mayank Rana <mrana@codeaurora.org> | Mon Feb 06 11:59:35 2017 -0800 |
tree | 3fa706e0aafac4a091621b3231fc651a303dc070 | |
parent | 33b264a8f3730cdfeaf431271225093c8f82a20d [diff] |
USB: gadget: mtp: Fix bug in freeing memory on allocation failure Current driver code doesn't handle the memory allocation failure correctly and ends up leaking memory and trying to free unallocated one. Change-Id: I7e3527b7e08ccfe566d85e3009d8a015d8daa707 Signed-off-by: Manu Gautam <mgautam@codeaurora.org> Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>