[sr-dev] git:master:7289417c: presence: free db result when get_dialog_state() retrieves no rows