Hi,
I put here a bug among others:

----------------------- sys/dev/rasops/rasops.c ------------------------

1167    f = malloc(sizeof(struct rotatedfont), M_DEVBUF, M_WAITOK);

        if ((ncookie = wsfont_rotate(*cookie)) == -1)
                return;

------------------------------------------------------------------------

'f' is leaked.

Found by The Brainy Code Scanner.

Maxime

Reply via email to