mjschultz / py-radix

Python radix tree implementation for IPv4 and IPv6 prefix matching.
Other
119 stars 37 forks source link

Radix_parent(): bug fix #28

Closed mjschultz closed 8 years ago

mjschultz commented 8 years ago

When Radix_parent function returned Py_NONE, there was no corresponding Py_INCREF call. Hence, at some point Python crashed trying to deallocate None object.

coveralls commented 8 years ago

Coverage Status

Coverage remained the same at 90.33% when pulling 0b60e2f0950f90864c3dfae84cbdeb8bcb1584b2 on refcount into ee5eed4db63913d10a1339bff011de8bd64cb08a on master.