So there was this question on SO which wasn't a very good question to begin with. It didn't get any attention because of that and someone, presumably a friend of the OP offered a bounty on it.
I posted an answer on it and it was accepted by the OP. However soon afterwards, the OP himself posted an answer which basically admitted that it is based on mine, adding:
this does not solve the problem, it only makes it less annoying.
But the bounty was awarded to this answer. So it seems to have been an exercise to preserve the rep. Is this legit? If not, what should I do in these cases?
I have seen questions like How comes this bounty was awarded? and Possible reputation padding? but they do not seem applicable in this case.
It seems somewhat related to On dealing with the misuse of bounties but this is a one of case rather than serial bounty abuse.