[Kst] branches/work/kst/portto4/kst/src/libkst

Adam Treat treat at kde.org
Wed Jul 4 18:11:29 CEST 2007


SVN commit 683338 by treat:

* Not sure if this should open/close for every
update, but don't leak.


 M  +1 -1      stdinsource.cpp  


--- branches/work/kst/portto4/kst/src/libkst/stdinsource.cpp #683337:683338
@@ -104,7 +104,7 @@
     }
   } while (++i < 100000 && new_data);
 
-  fflush(fp);
+  fclose(fp);
 
   if (got_some && _src) {
     return setLastUpdateResult(_src->update(u));


More information about the Kst mailing list