aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorDaeseok Youn <[email protected]>2014-11-06 19:27:11 +0900
committerGreg Kroah-Hartman <[email protected]>2014-11-07 09:30:22 -0800
commit429161d164491f430ddbc591f45dc2cd39e0e8a1 (patch)
tree011bc9351a4029a7abe051fd71db7a8267d13edf /tools/perf/scripts
parentdc3cfcd3f4804c9bf71e3b6152df6eb957856735 (diff)
staging: dgap: fix memory leak caused by double allocation of tty_structs
The tty_struct of serial_driver and print_driver were getting allocated twice. One is allocated in tty_alloc_driver(), the other is in dgap_tty_register(). So remove these in dgap_tty_register(). Signed-off-by: Daeseok Youn <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions