An invalid pointer operation means you freed something that wasn't allocated. In this case, the object you're ...
stackoverflow.com