I am trying to write a vector dispose function that frees the individual elements addressed in my vector. Basically v-> elems points to the first element in an an array of elements, each of which is elemSize long. alloclength is the length that I have allocated. Because this is a generic vector implementation vfree is supplied by the client when s/he wants to free the memory associated with a particular element pointed to from teh array.
Issues with pointer and freeing its associated memory