Merge pull request #1133 from urbit/hash-tests

fix heap allocation in hash_tests
This commit is contained in:
Joe Bryan 2019-01-11 14:08:49 -05:00 committed by GitHub
commit 86c38a46ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ _test_mug(void)
c3_w byt_w = u3r_met(3, str);
c3_w wor_w = u3r_met(5, str);
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;
u3r_bytes(0, byt_w, str_y, str);