summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-05-19 19:02:42 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-05-19 19:02:42 +0800
commit3ff893e478ca7c9355b273fce943cc011b292010 (patch)
tree7d5285fac7975b1c4780b2420a062d5fefaa7399
parent62b3466160499345eb3bdcd1fa9a77500dbdeecd (diff)
Clear the pointers afterwards
-rw-r--r--interchange.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/interchange.cxx b/interchange.cxx
index 1e3fc90..1249426 100644
--- a/interchange.cxx
+++ b/interchange.cxx
@@ -108,6 +108,7 @@ namespace QInterchange {
free(mv_order_item);
mv_order_item = nullptr;
for (auto pointer : pointers) free((void *)pointer);
+ pointers.clear();
interchange->emitOrder(QString{response->data});
interchange_free_response(response);
});