Mail Archives: djgpp/1998/01/09/03:46:58
>Nate Eldredge wrote:
>>
>> At 05:59 12/31/1997 +1030, Richard Sim wrote:
>[...]
>> >Also, if say you allocate a structure, do you have to do a free at the end
>> >of your program, or will it be totally free'd anyway? I know that you
>> >should, but must you?
>> No. All memory is automatically freed when your program exits. This should
>> be the case on every system.
>
>Although there are those who say that it is good practice because
>you are forced to keep track of what you allocate and maybe take
>more care about memory leaks _inside_ your program. Then again,
>there are always those who are overdoing things...
>
>
I wouldn't try writting to a double_buffer I hadn't allocated first ; )
Jim the loiterer (wannabe PC game/graphics developer)
http://members.aol.com/qball1723/index.htm
[please don't hate me because I pay too much for poor internet service!!]
- Raw text -