From b2a890263f4284b109b667aaa0fe341d74201aba Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Tue, 21 Jul 2009 23:28:11 -0700 Subject: Properly initialize the fqname member of upb_msg. --- src/upb_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/upb_context.c') diff --git a/src/upb_context.c b/src/upb_context.c index 1a36d6e..bf0e6df 100644 --- a/src/upb_context.c +++ b/src/upb_context.c @@ -190,7 +190,7 @@ static bool insert_message(struct upb_strtable *t, e.e.key = fqname; e.type = UPB_SYM_MESSAGE; e.ref.msg = malloc(sizeof(*e.ref.msg)); - if(!upb_msg_init(e.ref.msg, d, sort)) { + if(!upb_msg_init(e.ref.msg, d, fqname, sort)) { free(fqname.ptr); return false; } -- cgit v1.2.3