do not reuse deleted entry. fixed

This commit is contained in:
mirichi
2014-04-20 23:10:24 +09:00
parent a694110193
commit d3efe18143
+1 -1
View File
@@ -180,7 +180,7 @@ kh_fill_flags(uint8_t *p, uint8_t c, size_t len)
return k; \
} \
} \
else if (del_k != kh_end(h)) { \
else if (del_k == kh_end(h)) { \
del_k = k; \
} \
k = (k+(++step)) & khash_mask(h); \