Original Post
hi, i got some problems with this crap stuff^^ i got a ID3DXFONT* created with D3DXCreateFontIndirect(); so as far as i know this increments the reference count from my Device. Now i got some memory leaks 0.62mb, and i wanted to clear them. Ok i debug, find the alloc id. then i break at that alloc ID. Its in Font->DrawText(); ok what does that mean? is the font the problem? because in my destructor i release the font and its reference count is 0!!!! so where is the memory leak? the font has a ref count 0, do i have to call release right after D3DXCreateFontIndirect()? for my Device?? i thought that this func adds a ref, and if i call Font->Release() that reference gets decremented. thank you for any help :D