Yes, things bought at the airport are treated as carry-on items and, thus, included in your cabin bag allowance.