[sr-dev] git:4.2:50d9cf95: presence: initialize result to avoid freeing garbage in case of other errors