[Bug 442933] call to wrong C++ delete