Re: use persistent allocation for cursor blinking.

Alan Cox
2006-08-01T22:53:24Z

Ar Maw, 2006-08-01 am 18:39 -0400, ysgrifennodd Dave Jones:
> On Tue, Aug 01, 2006 at 11:17:40PM +0100, Alan Cox wrote:
>
> > If the allocation fails we have allocsize = "somesize" and src = NULL.
> > The next time we enter the if is false and we fall through and Oops
> >
> > Either check src in the if or set allocsize to something impossible (eg
> > 0) on the error path.
>
> Good catch.
>
> Signed-off-by: Dave Jones <davej@redhat.com>

Acked-by: Alan Cox <alan@redhat.com>