fixing coverity issue 1061045 Resource leak
This commit is contained in:
parent
6470838065
commit
9a9e1b46ef
@ -135,7 +135,6 @@ public:
|
|||||||
if(descriptorTable.find(routeParameters.outputFormat) != descriptorTable.end() ) {
|
if(descriptorTable.find(routeParameters.outputFormat) != descriptorTable.end() ) {
|
||||||
descriptorType = descriptorTable.find(routeParameters.outputFormat)->second;
|
descriptorType = descriptorTable.find(routeParameters.outputFormat)->second;
|
||||||
}
|
}
|
||||||
descriptorTable[routeParameters.outputFormat];
|
|
||||||
descriptorConfig.z = routeParameters.zoomLevel;
|
descriptorConfig.z = routeParameters.zoomLevel;
|
||||||
descriptorConfig.instructions = routeParameters.printInstructions;
|
descriptorConfig.instructions = routeParameters.printInstructions;
|
||||||
descriptorConfig.geometry = routeParameters.geometry;
|
descriptorConfig.geometry = routeParameters.geometry;
|
||||||
|
Loading…
Reference in New Issue
Block a user