summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHemant Kumar <hemantk@codeaurora.org>2016-05-04 18:22:14 -0700
committerJeevan Shriram <jshriram@codeaurora.org>2016-05-11 17:43:57 -0700
commit6f856046e001fbb16a9e3f74a5fda8f924c445d5 (patch)
tree14861266c14307c4b9870ad5dc882c2f8ab5b39c /tools/perf/scripts/python
parent17d496f66a45ac03235f97211516e34ce439ed60 (diff)
usb: gadget: composite: Fix double free memory bug
configfs_dev_cleanup function can double free os_desc and buffer when called from different context. For example, this can be called from composite_unbind() and when composite_bind() fails. Fix this issue by setting request and buffer pointer to NULL after kfree. CRs-Fixed: 1013316 Change-Id: I6e87289627b23fc368f990fc7962854eeb3fbbc1 Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions