[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <53D6A4F0.6080909@hurleysoftware.com>
Date: Mon, 28 Jul 2014 15:30:56 -0400
From: Peter Hurley <peter@...leysoftware.com>
To: "xinhui.pan" <xinhuix.pan@...el.com>
CC: Greg KH <gregkh@...uxfoundation.org>, Jiri Slaby <jslaby@...e.cz>,
"Zhang, Yanmin" <yanmin_zhang@...ux.intel.com>,
mnipxh <mnipxh@...il.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tty/n_gsm.c: fix a memory leak in gsmld_open
On 07/28/2014 04:14 AM, xinhui.pan wrote:
> 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@...el.com>
> Reported-by: Peter Hurley <peter@...leysoftware.com>
Looks good, thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists