Possible Duplicate:
C programming : How does free know how much to free?
In C the function malloc takes an argument, specifiying how many bytes to alloacte. How ever the function free doesn't take any arguments but a pointer. How does free know how many bytes it has to free?