The person who mispronounced something deserves the correct word without a public lesson in shame.
GRATITUDE
GRATITUDE
A mispronounced word is usually evidence that someone read it before they heard it, which means they went and found it on their own. Correcting that in front of others turns a sign of curiosity into a small humiliation, and the lesson people take away is to stay quieter next time. The word matters less than what the correction teaches about speaking up.
If it does not affect the meaning, let it go. If it does, say the word correctly in your own next sentence and carry on without commentary. When it genuinely needs saying, say it privately and briefly.
Who corrected you kindly enough that you kept speaking?
Free, with nothing to buy inside it.