Fix mis-sized array

reviewable/pr8842/r1
Craig Tiller 8 years ago
parent 7d4116fa44
commit 58317fcc89
  1. 2
      test/core/transport/metadata_test.c

@ -190,7 +190,7 @@ static void test_things_stick_around(void) {
size_t i, j;
char *buffer;
size_t nstrs = 1000;
grpc_slice *strs = gpr_malloc(sizeof(grpc_slice *) * nstrs);
grpc_slice *strs = gpr_malloc(sizeof(grpc_slice ) * nstrs);
size_t *shuf = gpr_malloc(sizeof(size_t) * nstrs);
grpc_slice test;

Loading…
Cancel
Save