summaryrefslogtreecommitdiff
path: root/src/upb_context.c
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-07-21 23:28:11 -0700
committerJoshua Haberman <joshua@reverberate.org>2009-07-21 23:28:11 -0700
commitb2a890263f4284b109b667aaa0fe341d74201aba (patch)
tree15aee323d4aaf5656c6931e0661639b6217b04dc /src/upb_context.c
parentc9105bbf58b7c98058ca2d2fe5dd7cd87e1554c7 (diff)
Properly initialize the fqname member of upb_msg.
Diffstat (limited to 'src/upb_context.c')
-rw-r--r--src/upb_context.c2
1 files changed, 1 insertions, 1 deletions
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;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback