Fixed, thanks.

On Wed, Nov 21, 2012 at 06:33:46PM +0100, rustyBSD wrote:
> Hi,
> I know I'm repeating, but I make a codescanneron my free
> timeand sometimes I run it on /usr/src.
> 
> So, here is a patch to fix a file descriptor leak.
> 
> (I know, tabs are gone, how to avoid that on thunderbird?)
> 
> 
> --- src/usr.bin/cu/xmodem.c    2012-07-11 08:39:32.000000000 +0200
> +++ src/usr.bin/cu/xmodem.c    2012-11-21 13:20:21.782313183 +0100
> @@ -172,6 +172,6 @@
>      set_termios();
>  
>      sigaction(SIGINT, &oact, NULL);
> -
> +    fclose(f);
>      return;
>  }

Reply via email to