aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-12-04 23:38:44 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-12-14 11:00:49 +0100
commit9493ebfd32fde938c908dbf688c8c21b163c892b (patch)
tree9ab24431d1d2a9b2887a65c4a059baae7622829d
parent828ae52362d1d12240fe4150d4ec70fd1652bfd4 (diff)
Avoid warning about deleting void* variable
And replace free calls by delete because operator new was used. Change-Id: Ifb0d301b0a09dd83e3ad574c97e02bd8af072ae6 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> # Conflicts: # signal-composer-binding/signal-composer.cpp
m---------ctl-utilities0
-rw-r--r--signal-composer-binding/signal-composer.cpp2
2 files changed, 1 insertions, 1 deletions
diff --git a/ctl-utilities b/ctl-utilities
-Subproject 22f4773ee8fda1ddff6638b1e4da672488b8d13
+Subproject 523756322b7aa246cc46b390dff6dc924800af6
diff --git a/signal-composer-binding/signal-composer.cpp b/signal-composer-binding/signal-composer.cpp
index 903af9c..dedd4b3 100644
--- a/signal-composer-binding/signal-composer.cpp
+++ b/signal-composer-binding/signal-composer.cpp
@@ -575,7 +575,7 @@ void* Composer::createContext(void* ctx)
void Composer::destroyContext(void* ctx)
{
- delete(ctx);
+ delete(reinterpret_cast<clientAppCtx*>(ctx));
}
std::vector<std::string> Composer::parseURI(const std::string& uri)