Uh-oh! free'ing deallocated memory.
IIRC the first chapter of AUP suggested doing this inside of macros as
well. It always gives me bug riddled code soon afterwards, but its
nice in practice. I remember you as being fairly anti-macro :) come to
the dark side we have cookies.