VLDGetLeaksCount() return me 16 but output report file show me no memory leaks! :
No memory leaks detected.
Visual Leak Detector is now exiting.
I'm calling in end of my main() function, same as following pseudo code:
If i use VLDMarkAllLeaksAsReported(); in first of my main() function such as below, the VLDGetLeaksCount() return
2 and also log file show no memory leaks!
How can i detect that is there any leaks or not before ending my application!? i want if there is any leak report to executer.
Thank you for any help.