Re: frequently updated pixbuf images disapear after a while
- From: rupert <rupertt gmail com>
- To: "David NeÄas (Yeti)" <yeti physics muni cz>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: frequently updated pixbuf images disapear after a while
- Date: Sun, 27 Aug 2006 11:39:08 +0200
mh, i noticed that, but when i the fclose in the line before return TRUE i
get a segfault.
On 8/27/06, David NeÄas (Yeti) <yeti physics muni cz> wrote:
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]