[sr-dev] git:master:28dc74fa: presence: reset freed list to avoid double free in case of error