aboutsummaryrefslogtreecommitdiffstats
path: root/signal-composer-binding/signal-composer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'signal-composer-binding/signal-composer.cpp')
-rw-r--r--signal-composer-binding/signal-composer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/signal-composer-binding/signal-composer.cpp b/signal-composer-binding/signal-composer.cpp
index d9d004c..903af9c 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)
{
- free(ctx);
+ delete(ctx);
}
std::vector<std::string> Composer::parseURI(const std::string& uri)