This patch has been merged upstream. Drop next update.
Commit: ee09d4e696aa530e100b840428ab9c358032c744

Index: src/Gui/View3DInventor.cpp
--- src/Gui/View3DInventor.cpp.orig
+++ src/Gui/View3DInventor.cpp
@@ -604,7 +604,7 @@ bool View3DInventor::setCamera(const char* pCamera)
     }
 
     // this is to make sure to reliably delete the node
-    CoinPtr<SoNode> camPtr(Cam, true);
+    CoinPtr<SoNode> camPtr {Cam};
 
     // toggle between perspective and orthographic camera
     if (Cam->getTypeId() != CamViewer->getTypeId()) {
