Re: [patch] tty: save newly allocated buffer in tty_free_termios()

From: Alan Cox
Date: Fri Jul 20 2012 - 09:57:00 EST

On Fri, 20 Jul 2012 16:32:45 +0300
Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:

> We're trying to save the termios state and we need to allocate a buffer
> to do it. Smatch complains that the buffer is leaked at the end of the
> function.
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Acked-by: Alan Cox <alan@xxxxxxxxxxxxxxx>

(introduced in the recent patches so no need to go back into stable or
anywhere like that)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at