Stating the obvious about debugging an invalid parameter error when freeing memory Writing it down for posterity. Click here to read the article