it depends on the situation and how well i know the person.

usually I have no problem giving someone a lift home if i generally enjoy this person or if its just a one time thing.
Other than that no, I don't feel responsible for giving someone a ride home even if they are going my way. They should plan their transportation better.