summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ord.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ord.c b/ord.c
index 83b8012..8d4e0ae 100644
--- a/ord.c
+++ b/ord.c
@@ -85,8 +85,6 @@ void interchange_ord_checkout(const struct interchange_ord_order *order,
void interchange_ord_free_order(struct interchange_ord_order *order)
{
- for (size_t i = 0; i < order->nitems; i++)
- interchange_free_product(order->items[i]->product);
if (order->profile)
free(order->profile);
free(order);