summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2010-07-10 18:11:24 -0700
committerJoshua Haberman <joshua@reverberate.org>2010-07-10 18:11:24 -0700
commitdb6c7387bc1df49deac41155a173e33017a75ed8 (patch)
tree4ea4b29da78b4dfb0515aff260e86120b2036e6b /tests
parent67b16cbe5c55d00d7e576cdf479392f3a0e927a5 (diff)
Incremental progress towards getting upb_def to bootstrap.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_string.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_string.c b/tests/test_string.c
index 5e6e2a9..5869b70 100644
--- a/tests/test_string.c
+++ b/tests/test_string.c
@@ -66,4 +66,7 @@ int main() {
upb_string_unref(str);
upb_string_unref(str2);
+
+ // Unref of NULL is harmless.
+ upb_string_unref(NULL);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback