<human>: Condense the text into a few key points

We've actually broken up now, but that's not relevant.

I was on a night out in town with a big group of friends, both girls and boys. My gf wasn't there as she wasn't old enough and wasn't friends with them. Me and a few of the boys of the group were hanging around getting food having just come out of the club. 
One of the girls of the group came up to us crying (some sort of boy issue), and as she knows me best out of any of the boys that were there (we used to be close and I had a thing for her at one point, well over a year before this though), came up to me specifically. So I comfort her, give her a long hug etc. 

Then a few minutes later it's time to leave so me, this girl and another one of the girls get in a taxi as we were the only ones going in that direction. 

She's very drunk and still upset so I have to help her into the taxi, and she holds on to my hand quite firmly. It stayed that way for the 5-10 minute taxi journey, and I was thinking that I should pull my hand away but didn't want to upset her further as I was meant to be comforting her, and it didn't seem like a particularly big deal at the time.

I didn't say anything about this to my gf. This is what makes me think it might be, because of the saying that goes something like "if you wouldn't tell your partner about it, it's cheating". 

Is this cheating, or am I being stupid?

I know this sounds extremely petty compared to most things on here, but I abhor cheating and the idea that I may have done it gets to me.

Thanks.
<bot>: Went on a night out. Was comforting upset female friend in taxi, she held on to my hand, I didn't pull it away. Seems petty I know.