You want to initialize refcounts of static objects to '1', so that the program doesn't try to delete static ones, and doesn't avoid deleting non-static ones.