Yes it was probably anal glands. If it happens again, it wont hurt to get her checked out