diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-05-19 19:02:42 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-05-19 19:02:42 +0800 |
commit | 3ff893e478ca7c9355b273fce943cc011b292010 (patch) | |
tree | 7d5285fac7975b1c4780b2420a062d5fefaa7399 | |
parent | 62b3466160499345eb3bdcd1fa9a77500dbdeecd (diff) |
Clear the pointers afterwards
-rw-r--r-- | interchange.cxx | 1 |
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); }); |