Then the reference counting is not properly implemented, otherwise reference count would be greater than zero.
object = create_object() // RC 1
object.release() // RC 0 => will be released
// ...
object.doSomething() // Used after object was released
?