summaryrefslogtreecommitdiff
path: root/tests
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 /tests
parent2282d2489bd8db3cd4ddbe0dd813732bffcf6452 (diff)
Add refcounting and thread-safety to message definitions.
Diffstat (limited to 'tests')
-rw-r--r--tests/tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests.c b/tests/tests.c
index 2a769a9..5df933c 100644
--- a/tests/tests.c
+++ b/tests/tests.c
@@ -224,7 +224,7 @@ static void test_get_f_uint32_t()
static void test_upb_context() {
struct upb_context c;
ASSERT(upb_context_init(&c));
- upb_context_free(&c);
+ upb_context_unref(&c);
}
int main()
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback