Fix for content manager recurcive memory leack.