Dynamic memory allocation - how is it supported?

Show the code that gave you problems.