Add assert to check that the memory block for the previous directory value was allocated via sqlite3_malloc or related function.

FossilOrigin-Name: 1246f15b146ebf6518fb8f5c92a1ebc9495cd9dc
3 files changed