TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Roger Scudder
from: Bo Simonsen
date: 2003-10-15 13:35:38
subject: Memory matters

Hello Roger!

Oct 14 15:39 03, Roger Scudder wrote to Bo Simonsen:

 >> In my file ticker, I'm reading the configuration into a structure.. 
 >> This structure 
 >> do I need all the time, so I figured is it nessersary to free it then 
 >> I'm ending the program?

 RS>  Any memory that you allocate using malloc should be explicitly freed 
 RS> by you before the program terminates.  Don't be lazy and assume that 
 RS> everything will cleanup when the program ends.

Yes I wan't so, but if it's not urgent, I'll do it on some cold autum day,
where I don't have anything else todo ;-)

Regards,
Bo

--- Msged/LNX 6.1.2 (Linux/2.4.22-1-586tsc (i586))
* Origin: The Night Express, Roennede Dk (2:236/100)
SEEN-BY: 633/267 270
@PATH: 236/100 237/9 20/11 106/1 2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.