diff options
| -rw-r--r-- | indra/llui/lltexteditor.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lltexteditor.cpp b/indra/llui/lltexteditor.cpp index e76fee9f17..a4c802bd26 100644 --- a/indra/llui/lltexteditor.cpp +++ b/indra/llui/lltexteditor.cpp @@ -2574,7 +2574,7 @@ void LLTextEditor::updateLinkSegments()  			// then update the link's HREF to be the same as the label text.  			// This lets users edit Urls in-place.  			LLStyleConstSP style = segment->getStyle(); -			LLStyle* new_style = new LLStyle(*style); +			LLStyleSP new_style(new LLStyle(*style));  			LLWString url_label = wtext.substr(segment->getStart(), segment->getEnd()-segment->getStart());  			if (LLUrlRegistry::instance().hasUrl(url_label))  			{  | 
