title: Finding allocation site for double-free errors (with valgrind)
body: <p>Given a double-free error (reported by valgrind), is there a way to find out where the memory was allocated? Valgrind only tells me the location of the deallocation site (i.e. the call to <code>free()</code>), but I would like to know where the memory was <strong>allocated</strong>.</p>