Fixing memory leak in Microsoft USD