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

On: 13 Oct 03  17:45:54 Bo Simonsen wrote to All:

 > 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?

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


-Roger

--- Spinone v0.1.79 Win32
* Origin: Scudder's Point (1:261/38.11)
SEEN-BY: 633/267 270
@PATH: 261/38 123/500 106/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™.