Re: frequently updated pixbuf images disapear after a while



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.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]