summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Lotterbach <timo.lotterbach@bmw-carit.de>2013-03-15 14:27:14 +0100
committerTimo Lotterbach <timo.lotterbach@bmw-carit.de>2013-03-18 09:56:55 +0100
commit4b28966fb4bc4d1261271b426d5765a58c412393 (patch)
tree48d63ecf85c9acea1be579516e374cc510c41344
parent2aaa647bb8910b6911119d35c53795a4459c30c9 (diff)
downloadlayer_management-4b28966fb4bc4d1261271b426d5765a58c412393.tar.gz
LayerManagerControl: fixed memory leak
Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
-rw-r--r--LayerManagerControl/src/control.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/LayerManagerControl/src/control.cpp b/LayerManagerControl/src/control.cpp
index fef2daa..68c4a2f 100644
--- a/LayerManagerControl/src/control.cpp
+++ b/LayerManagerControl/src/control.cpp
@@ -148,6 +148,7 @@ void setSurfaceAcceptsInput(t_ilm_surface surfaceId, string kbdPointerTouch, t_i
{
cout << "LayerManagerService returned: " << ILM_ERROR_STRING(callResult) << "\n";
cout << "Failed to update input event acceptance on surface with ID " << surfaceId << "\n";
+ delete[] str;
return;
}