On Sun, Aug 27, 2006 at 10:37:18AM +0200, rupert wrote:
> 
> >
> > >    FILE *fp = fopen(mapper_chk_cmd, "r");
> > >
> > >    if(fp) {
> > >        return TRUE;
> > >    } else {
> > >        return FALSE;
> > >    }
> > >    fclose(fp);
> >
> > file descriptor leak.
> 
> 
> ?? what  do you mean with that, how can i fix that?

How it can perform the fclose() when it always returns
before it?  It cannot -- so the file is never closed.

Yeti


--
Anonyms eat their boogers.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to