pkg/driver/camera/camera_windows.cpp
// freeCameraList frees all resources stored in cameraList*.
freeCameraList frees all resources stored in cameraList*.
freeCameraList frees all resources stored in cameraList * .
int freeCameraList(cameraList* list, const char** errstr)
{
  if (list->name != nullptr)
  {
    for (int i = 0; i < list->num; ++i)
    {
      delete list->name[i];
    }
    delete list->name;
  }
  return 1;
}
int freeCameraList ( cameraList * list , const char * * errstr ) { if ( list -> name != nullptr ) { for ( int i = 0 ; i < list -> num ; ++ i ) { delete list -> name [ i ] ; } delete list -> name ; } return 1 ; }
freeCameraList frees all resources stored in cameraList*.
freeCameraList frees all resources stored in cameraList * .