Fixed more uninitialized variables and two potential memory leaks.

This commit is contained in:
Robert Osfield
2002-07-22 12:41:55 +00:00
parent bfefb55a9f
commit 3dd07ea354
9 changed files with 36 additions and 12 deletions

View File

@@ -46,7 +46,7 @@ FTOutlineGlyph::FTOutlineGlyph( FT_Glyph glyph)
advance = glyph->advance.x >> 16;
osgDelete vectoriser;
vectoriser=0;
if ( ( numContours < 1) || ( numPoints < 3))
return;