From 9a9e1b46efa8246b9403eaa919ef69fe83430662 Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Thu, 19 Sep 2013 10:32:27 +0200 Subject: [PATCH] fixing coverity issue 1061045 Resource leak --- Plugins/ViaRoutePlugin.h | 1 - 1 file changed, 1 deletion(-) diff --git a/Plugins/ViaRoutePlugin.h b/Plugins/ViaRoutePlugin.h index 5233104b6..7efb06a10 100644 --- a/Plugins/ViaRoutePlugin.h +++ b/Plugins/ViaRoutePlugin.h @@ -135,7 +135,6 @@ public: if(descriptorTable.find(routeParameters.outputFormat) != descriptorTable.end() ) { descriptorType = descriptorTable.find(routeParameters.outputFormat)->second; } - descriptorTable[routeParameters.outputFormat]; descriptorConfig.z = routeParameters.zoomLevel; descriptorConfig.instructions = routeParameters.printInstructions; descriptorConfig.geometry = routeParameters.geometry;