added missing cleanup in OdometryViewer app

This commit is contained in:
matlabbe
2015-04-10 17:54:51 -04:00
parent 0e21be7f67
commit 9f60989e54

View File

@@ -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;
}
}