summaryrefslogtreecommitdiff
path: root/tools/upbc.c
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-08-15 20:20:28 -0700
committerJoshua Haberman <joshua@reverberate.org>2009-08-15 20:20:28 -0700
commit71d82d06d17f0205ccf5bb72ea11d3fd3e9eb363 (patch)
treef2f48d548ce83043abdb4048697c4d0d6ba18b1c /tools/upbc.c
parent2282d2489bd8db3cd4ddbe0dd813732bffcf6452 (diff)
Add refcounting and thread-safety to message definitions.
Diffstat (limited to 'tools/upbc.c')
-rw-r--r--tools/upbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/upbc.c b/tools/upbc.c
index f9890c6..b3036a0 100644
--- a/tools/upbc.c
+++ b/tools/upbc.c
@@ -686,7 +686,7 @@ int main(int argc, char *argv[])
fclose(c_file);
}
upb_msg_free(fds_msg);
- upb_context_free(&c);
+ upb_context_unref(&c);
upb_strfree(descriptor);
fclose(h_file);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback