comparison LightClone/Source/ResourceManager.cpp @ 68:c4ece16cf995

Finish cleaning up memory leaks; Starting on screen manager
author koryspansel <koryspansel@bendbroadband.com>
date Fri, 07 Oct 2011 13:31:52 -0700
parents 1fe27776627e
children
comparison
equal deleted inserted replaced
67:8e7ebab350e7 68:c4ece16cf995
86 { 86 {
87 (*kEffect)->Release(); 87 (*kEffect)->Release();
88 } 88 }
89 89
90 FontCache::Iterator kFont = kFontCache.Begin(); 90 FontCache::Iterator kFont = kFontCache.Begin();
91 FontCache::Iterator kFontEnd = kFontCache.Begin(); 91 FontCache::Iterator kFontEnd = kFontCache.End();
92 92
93 for(; kFont != kFontEnd; ++kFont) 93 for(; kFont != kFontEnd; ++kFont)
94 { 94 {
95 (*kFont)->Release(); 95 (*kFont)->Release();
96 } 96 }