TODO: talloc: talloc_free() should remove the reference to the current owner