From c2c89d376b0d80299ad0fe8228ecef4279557160 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Sat, 5 Oct 2019 18:06:58 +0800 Subject: Start working on ord.c --- ord.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 ord.c (limited to 'ord.c') diff --git a/ord.c b/ord.c new file mode 100644 index 0000000..4122b57 --- /dev/null +++ b/ord.c @@ -0,0 +1,10 @@ +#include +#include +#include "icclient/client.h" +#include "icclient/ord.h" + +void icclient_ord_free(struct icclient_ord_order *order) +{ + for (size_t i = 0; i < order->nitems; i++) + icclient_freeproduct(order->items[i]->product); +} -- cgit v1.2.3