Subject: Re: PR/33392 CVS commit: src/dist/nawk
To: None <gnats-bugs@NetBSD.org>
From: Aleksey Cheusov <cheusov@tut.by>
List: netbsd-bugs
Date: 06/26/2006 10:19:05
>  | Thanks for applying the patch.
>  | Just a minor note:
>  | you forgot about xfree(f->gototab[i]) in function 'freefa'.
>  
>  Thanks,

You also forgot about chaning type of gototab array from uschar to int,
typing it as uschar is another kind of limiting a number of states.
<       uschar  **gototab;
>       int     **gototab;

I also found my own mistake
<               fa->gototab[i] = calloc(1, NCHARS * sizeof (*fa->gototab));
>               fa->gototab[i] = calloc(1, NCHARS * sizeof (**fa->gototab));

-- 
Best regards, Aleksey Cheusov.