I'm using Wu Yongwei's memory leak detector (http://wyw.dcweb.cn/leakage.htm) and I think I've managed to get rid of any memory leaks, however I'm getting this weird error:

Qt Code:
  1. delete: invalid pointer 040C7D78 (00409C91)
  2. *** Checking for memory corruption: START
  3. Heap data corrupt near 040C7D78 (size 124, 00403420)
  4. *** Checking for memory corruption: 1 FOUND
To copy to clipboard, switch view to plain text mode 

It looks like I'm trying to delete a pointer pointing to some memory that isn't allocated anymore? The program doesn't crash though.

Of course the problem is that I get an address where this is occurring and digging through the ASM to find where this may be originating from just goes a little too far I'm afraid . The weird thing is that when I still had memory leaks, the output of the memory leak tool would also give addresses, instead of filenames & lines as shown on the website.

Has anyone got a solution for this?