[sr-dev] git:master:ae7dce43: utils: handle error case for xcap auth status to free allocated structs