From 4f9aeee6c7414bec2e1d8a9d3508dbd21f4d3394 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Mon, 14 Feb 2011 10:24:33 -0800 Subject: More completely fixed the 0-key thing. Unfortunately this degrades hash table lookup performance by about 8%, which affects the streaming benchmark for googlemessage1 by about 5%. We could get this back at the cost of some memory, but it would be nice to avoid that. --- src/upbc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/upbc.c') diff --git a/src/upbc.c b/src/upbc.c index a636301..62f5afd 100644 --- a/src/upbc.c +++ b/src/upbc.c @@ -231,6 +231,7 @@ int main(int argc, char *argv[]) free(defs); upb_string_unref(descriptor); upb_symtab_unref(s); + upb_symtab_unref(s2); fclose(h_const_file); return 0; -- cgit v1.2.3