Created by: snehasish
If a drvector_t is initialized with zero capacity, it lazily allocates memory on the first append invocation. If the vector is deleted before append is called, then drvector_delete tries to free a nullptr which shows up as an error in a DEBUG build.