I recently encountered my first battle (solved) with heap corruption. On my linux machine at home the culprit code exits without error using valgrind and e
You don't understand what heap corruption is. In particular, memory leaks are not heap corruption.
The memory leak reported by Parallel Studio also appears bogus, and more likely to be a bug in Parallel Studio than in your program.