delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/16/06:11:23

Date: Wed, 14 Jan 98 16:59:45 PST
From: Noam Rotem <nrotem AT johnbryce DOT co DOT il>
Subject: Set free my ignorance around 'free'
To: djgpp AT delorie DOT com
Message-Id: <Chameleon.980114170604.nrotem@netvision.netvision>
Mime-Version: 1.0

Hi,

Can anyone explain to me the process of freeing a dynamic 
allocation? (I mean the process in memory, by the OS). What 
does *actualy* happen when I try to free a non dynamic 
allocation, or use a pointer to the middle of an allocation 
to free it? I know it is undefined, but why? What does the 
computer do when I use 'free'?


Thanks in advance.

---------------------------------------------
Noam Rotem
John Bryce Training Centre
Tel Aviv, Israel.
03-7535803
=============================================
1. Take upon yourself an impossible mission.
2. Accomplish the mission.
3. Go back to step 1.

It's the only sane answer to modern life.

---
14/01/98
16:59:45

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019