summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorxinhui.pan2014-07-28 10:14:52 +0200
committerGreg Kroah-Hartman2014-08-02 01:04:54 +0200
commit5a64096700dc9761b57e767c9f0b740eb2cb84dd (patch)
tree4f61f7ef658e9775791730516f5ac81de7d47a59 /virt
parentpch_uart: don't hardcode PCI slot to get DMA device (diff)
downloadkernel-qcow2-linux-5a64096700dc9761b57e767c9f0b740eb2cb84dd.tar.gz
kernel-qcow2-linux-5a64096700dc9761b57e767c9f0b740eb2cb84dd.tar.xz
kernel-qcow2-linux-5a64096700dc9761b57e767c9f0b740eb2cb84dd.zip
tty/n_gsm.c: fix a memory leak in gsmld_open
If gsmld_attach_gsm fails, the gsm is not used anymore. tty core will not call gsmld_close to do the cleanup work. tty core just restore to the tty old ldisc. That always causes memory leak. Signed-off-by: xinhui.pan <xinhuiX.pan@intel.com> Reported-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions