diff options
author | Joshua Haberman <joshua@reverberate.org> | 2009-08-15 20:20:28 -0700 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2009-08-15 20:20:28 -0700 |
commit | 71d82d06d17f0205ccf5bb72ea11d3fd3e9eb363 (patch) | |
tree | f2f48d548ce83043abdb4048697c4d0d6ba18b1c /tools/upbc.c | |
parent | 2282d2489bd8db3cd4ddbe0dd813732bffcf6452 (diff) |
Add refcounting and thread-safety to message definitions.
Diffstat (limited to 'tools/upbc.c')
-rw-r--r-- | tools/upbc.c | 2 |
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); |