Re: TI-H: Programming


[Prev][Next][Index][Thread]

Re: TI-H: Programming




From: Markus Räty <markus.raty@usa.net>
>Every
>program of mine, that loops (all my programs so far do) will start to slow
>down after a little while and after a little more, will crash with an
'Error
>15 memory'. What am I doing wrong? Please help! =)


You are allocating memory in the loop and not freeing it before
doing it again.  Always free any resources you allocate before you
leave the loop (unless you keep refrences to it somewhere so you
can free it later of course).

DK



Follow-Ups: