Fix a bug in test_c_api() that caused a negative refcount.
1 file changed