Very general: Is there an easy way to tell which line of code last freed a block of memory when an access violation occurs?
Less general: My understanding of profilers is that they override the allocation and deallocation processes. If this is true, might they happen to store the line of code that last freed a section of memory so that when it later crashes because of an access violation, you know what freed it last?
Specifics: Windows, ANSI C, using Visual Studio