message: only release non-null C++ wrapper handles
diff: @@ -86,6 +86,7 @@ namespace ospray {
  template <typename HANDLE_T, OSPDataType TYPE>
  inline ManagedObject<HANDLE_T, TYPE>::~ManagedObject()
  {
  + if (ospObject)
  ospRelease(ospObject);
  }
  