summaryrefslogtreecommitdiff
path: root/indra/llrender/llfontregistry.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-03-13 22:52:53 -0600
committerDave Parks <davep@lindenlab.com>2010-03-13 22:52:53 -0600
commit663147647d270eff17e654cd13be62b18cc6db30 (patch)
treea8ed70b81266927a218df8bd9091881681a37699 /indra/llrender/llfontregistry.cpp
parent71d11af31083ced30da7b67a2a63e624c93b44a3 (diff)
parent234cd6e7c04c0840be6ae4a74eaf138e72876f44 (diff)
merge with viewer-2-0
Diffstat (limited to 'indra/llrender/llfontregistry.cpp')
-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;
}
}
}