From 3ff893e478ca7c9355b273fce943cc011b292010 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Fri, 19 May 2023 19:02:42 +0800 Subject: Clear the pointers afterwards --- interchange.cxx | 1 + 1 file changed, 1 insertion(+) 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); }); -- cgit v1.2.3