Ge van Geldorp gvg@reactos.com writes:
Changelog: Gunnar Dalsnes hardon@online.no STATUSBAR_SetTextT:
- ntext wasn't freed on return if text was unicode
- part->text was allways freed, but if the previous style was SBT_OWNERDRAW, part->text would contain 32bit data (not a buffer ptr.)
Conversely, if the previous style was not SBT_OWNERDRAW but the new one is you should free the text pointer.