diff options
author | 2017-02-21 22:33:11 +0100 | |
---|---|---|
committer | 2017-03-06 16:54:45 +0200 | |
commit | b6e7aeeaf235901c42ec35de4633c7c69501d303 (patch) | |
tree | e5c1930d7726d79e10759d3c52351e168a161609 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | usb: gadget: udc: atmel: fix debug output (diff) | |
download | linux-rng-b6e7aeeaf235901c42ec35de4633c7c69501d303.tar.xz linux-rng-b6e7aeeaf235901c42ec35de4633c7c69501d303.zip |
USB: gadgetfs: Fix a potential memory leak in 'dev_config()'
'kbuf' is allocated just a few lines above using 'memdup_user()'.
If the 'if (dev->buf)' test fails, this memory is never released.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions