Why does Bounds Checker™ say that I have memory leaks? This is not an STL bug. It is an artifact of certain kinds of leak detectors. In the default STL allocator, memory allocated for blocks of small objects is not returned to malloc. It can only be reused by subsequent allocate requests of (approximately) the same size. Thus programs that use the default may appear to leak memory when monitored..