isc_mem_put NULL's the pointer to the memory being freed. The equality test 'parent->r == node' was accidentally being turned into a test against NULL. (cherry picked from commit ac2e0bc3ff)
ac2e0bc3ff