diff options
author | Xiaoming Ni <[email protected]> | 2019-09-24 17:25:56 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-10-04 15:11:26 +0200 |
commit | 7726fb53e75fa48714181efd00167e0734303afb (patch) | |
tree | 6e96963aea9d4af231fe4d975b71896e0f25b282 /lib/test_fortify/write_overflow-strcpy.c | |
parent | 530c4ba3fa05bf121b87b13befc2f5a7e97cea15 (diff) |
tty:n_gsm.c: destroy port by tty_port_destroy()
According to the comment of tty_port_destroy():
When a port was initialized using tty_port_init, one has to destroy
the port by tty_port_destroy();
tty_port_init() is called in gsm_dlci_alloc()
so tty_port_destroy() needs to be called in gsm_dlci_free()
Signed-off-by: Xiaoming Ni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions