message: Guard ospRelease in cpp-wrapper to avoid bogus warnings when picking misses
diff: @@ -82,6 +82,7 @@ inline ManagedObject<HANDLE_T, TYPE>::ManagedObject(
  const ManagedObject<HANDLE_T, TYPE> &copy)
  {
  ospObject = copy.handle();
  + if (copy.handle())
  ospRetain(copy.handle());
  }
  @@ -98,6 +99,7 @@ inline ManagedObject<HANDLE_T, TYPE> &ManagedObject<HANDLE_T, TYPE>::operator=(
  const ManagedObject<HANDLE_T, TYPE> &copy)
  {
  ospObject = copy.handle();
  + if (copy.handle())
  ospRetain(copy.handle());
  return *this;
  }
  