I don't see any mistakes.. He bet the flop as he should, his opp called, possible flush draw, no extra heart on the turn, so he bet harder to protect his hand against another draw. He just had the misfortune his opp had already flopped the flush. More often than not though, they won't, so he did the right thing imo.