Add missing free

pull/4097/head
Craig Tiller 9 years ago
parent 717805f570
commit 308bbb2c4b
  1. 1
      src/core/transport/chttp2/hpack_table.c

@ -199,6 +199,7 @@ void grpc_chttp2_hptbl_destroy(grpc_chttp2_hptbl *tbl) {
GRPC_MDELEM_UNREF( GRPC_MDELEM_UNREF(
tbl->ents[(tbl->first_ent + i) % tbl->cap_entries]); tbl->ents[(tbl->first_ent + i) % tbl->cap_entries]);
} }
gpr_free(tbl->ents);
} }
grpc_mdelem *grpc_chttp2_hptbl_lookup(const grpc_chttp2_hptbl *tbl, grpc_mdelem *grpc_chttp2_hptbl_lookup(const grpc_chttp2_hptbl *tbl,

Loading…
Cancel
Save