if you do the decarbox mech. you will see why you need a carbonyl on the beta position.
In this case that beta carbonyl oxygen will grab the H and start off the decarbox mechanism.
So you will be releasing CO2 from the carbox group.
This is why under high heat, if you have carbox. acid and a carbonyl or 2 carboxylic acid sharing an alpha carbon is unstable. One of the carbox. acid will decarboxylate.