This guy was an idiot. Give a gun to a stranger? That's what the main problem was.
His flight was SO important that he couldn't buy a case, and had to give the gun away?
You have to wonder about the judgement of someone like that.
With that said, it really didn't sound like he broke any specific laws. justhere has some very good points.