From 6e5428f317c15ac78af3d440e377e7e77d2a0e0e 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: Mon, 13 Mar 2023 13:28:09 +0800 Subject: Pass a copy of the struct to checkout --- ord.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ord.cxx b/ord.cxx index 733b204..6c82e69 100644 --- a/ord.cxx +++ b/ord.cxx @@ -120,7 +120,7 @@ namespace QInterchange { }; mPtr = &m; - interchange_ord_checkout(order_profile, mPtr, + interchange_ord_checkout(order_profile, m, [](interchange_response* response) { free(mPtr->fname); free(mPtr->lname); -- cgit v1.2.3