smacker: check the return value of smacker_decode_tree