fix track memroy overread on realloc example problem