Check allocated objects dont change when only freeing embedded objects.