fix heap allocation in hash_tests

This commit is contained in:
Joe Bryan 2019-01-11 13:56:39 -05:00
parent 0ee959b9e7
commit 9fae727179

View File

@ -63,7 +63,7 @@ _test_mug(void)
c3_w byt_w = u3r_met(3, str); c3_w byt_w = u3r_met(3, str);
c3_w wor_w = u3r_met(5, str); c3_w wor_w = u3r_met(5, str);
c3_y* str_y = c3_malloc(byt_w); c3_y* str_y = c3_malloc(byt_w);
c3_w* str_w = c3_malloc(wor_w); c3_w* str_w = c3_malloc(4 * wor_w);
c3_d str_d = 0; c3_d str_d = 0;
u3r_bytes(0, byt_w, str_y, str); u3r_bytes(0, byt_w, str_y, str);