Elimination of CO2 from a carboxylic acid by reaction with NaOH to yield an alkane is called as
decarboxylation
It is an exampe of decarboxylation reaction. Decarboxylation is the elimination of a molecule of CO2CO2 from a carboxylic acid in the form of carbonates yielding an alkane as major prouct.