memory leak in kh_resize_##name()

This commit is contained in:
SatoshiOdawara
2012-06-07 16:03:53 +09:00
parent 0816c0eba5
commit 9ecc209ca0
+3
View File
@@ -129,6 +129,9 @@ static const uint8_t __m[8] = {0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80};
kh_value(h,k) = old_vals[i]; \
} \
} \
mrb_free(h->mrb, old_e_flags); \
mrb_free(h->mrb, old_keys); \
mrb_free(h->mrb, old_vals); \
} \
} \
static inline khint_t kh_put_##name(kh_##name##_t *h, khkey_t key) \