[sr-dev] git:master:134fcbd3: presence: fix potential double free in shutdown routine