mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
added missing cleanup in OdometryViewer app
This commit is contained in:
@@ -799,11 +799,13 @@ int main (int argc, char * argv[])
|
||||
else
|
||||
{
|
||||
printf("The camera is not calibrated! You should calibrate the camera first.\n");
|
||||
delete camera;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("Failed to initialize the camera! Please select another driver (see \"--help\").\n");
|
||||
delete camera;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user