The primary role of malolactic fermentation is to convert the "harsher" diprotic malic acid to the softer monoprotic lactic acid.
The primary role of malolactic fermentation is to deacidify wine. It achieves this by converting the "harsher" diprotic malic acid to the softer monoprotic lactic acid.