You could try using GameTooltip_SetDefaultAnchor(GameTooltip, this) instead of :SetOwner().
The owner indicates to which frame the GameTooltip currently belongs and will be cleared on every Hide(). I don't know if it is mandatory, but even the SetDefaultAnchor()-method calls internal :SetOwner(this, "ANCHOR_NONE").
Never heard of such a memory leak.
|