From 6e2b543c8e7ecf9986aa82641b4ed999755b03bd 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, 20 Mar 2023 11:21:57 +0800 Subject: Add image large to product --- interchange.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'interchange.c') diff --git a/interchange.c b/interchange.c index 8a70bbb..223e3c1 100644 --- a/interchange.c +++ b/interchange.c @@ -74,6 +74,8 @@ void interchange_product(const char *sku, void (*handler)(interchange_response * void interchange_clear_product(struct interchange_product *product) { + if (product->image_large) + free(product->image_large); if (product->crosssell) for (size_t i = 0; i < product->crosssell->length; i++) free(product->crosssell->skus[i]); -- cgit v1.2.3