diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp index 7085cbb8e5..7ca054034b 100755 --- a/indra/llui/lltextbase.cpp +++ b/indra/llui/lltextbase.cpp @@ -301,12 +301,9 @@ LLTextBase::LLTextBase(const LLTextBase::Params &p) LLTextBase::~LLTextBase() { mSegments.clear(); + delete mURLClickSignal; // Properly free the signals - //delete mURLClickSignal; - if (mURLClickSignal) - delete mURLClickSignal; - if (mIsFriendSignal) - delete mIsFriendSignal; + delete mIsFriendSignal; // }