View Single Post
  #2  
Old 11-02-2010, 12:30 PM
kornalius kornalius is offline
Administrator
 
Join Date: Apr 2006
Posts: 551
Default

Hi Mike,

A memory leak is possible. Try free(line$); at the end of the loop, just to make sure it is a memory leak.

I would simplify the code even more to really make sure it is in ReadString.

Code:
While (FEOF(input) == 0)
   line = readstring(input)
    free(line)
end
__________________
Regards,
Alain Deschenes
ArianeSoft Inc.
http://www.arianesoft.ca
Reply With Quote