summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-03-12 16:43:49 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-03-12 16:43:49 +0000
commit0b8e1d87c5d6ca1c0b373477575348e57197736e (patch)
tree4ba20793eb653689403fb7f1ee4b0ef21121a999 /indra/llrender
parent88386000af9fb830e61b29494a568e0fa2355f5a (diff)
parent8f548880714b84d5fc557fd2c1e1344c55dcfb54 (diff)
merge from viewer-2-0
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llfontregistry.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llrender/llfontregistry.cpp b/indra/llrender/llfontregistry.cpp
index 7a3d6ec4f2..e619f89e1d 100644
--- a/indra/llrender/llfontregistry.cpp
+++ b/indra/llrender/llfontregistry.cpp
@@ -469,6 +469,8 @@ LLFontGL *LLFontRegistry::createFont(const LLFontDescriptor& desc)
else
{
fontlist.push_back(fontp->mFontFreetype);
+ delete fontp;
+ fontp = NULL;
}
}
}