diff --git a/python/pyarrow/_plasma.pyx b/python/pyarrow/_plasma.pyx index 7e76d212d46de..7e994c3ee079d 100644 --- a/python/pyarrow/_plasma.pyx +++ b/python/pyarrow/_plasma.pyx @@ -708,10 +708,10 @@ cdef class PlasmaClient: cdef int64_t data_size cdef int64_t metadata_size with nogil: - self.client.get().GetNotification(self.notification_fd, - &object_id.data, - &data_size, - &metadata_size) + status = self.client.get().GetNotification(self.notification_fd, + &object_id.data, + &data_size, + &metadata_size) plasma_check_status(status) return object_id, data_size, metadata_size