There are three functions in CUpdateUIBase:
UIUpdateMenuBar, UIUpdateStatusBar, and
UIUpdateChildWindows which incorectly handle UPDUI_TEXT
type _AtlUpdateUIData item. Each function clears and
frees all text items regardless the UI element type or
whether they were updated.
The patch changes the behavior in the way, the text is
deleted only when it is the last update related to this
particular UI element (ID).
I general however, I think, that freeing the memory is
not necessary at all, since it is handled in UISetText
and destructor of CUpdateUIBase, but was not brave
enough to submit *that* patch :).