Guy, Using _CrtSetDbgFlag seams to reduce the leaks by about 20 allocations. There is still a significant amount of memory being leaked.