diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-20 11:21:57 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-20 11:21:57 +0800 |
commit | 6e2b543c8e7ecf9986aa82641b4ed999755b03bd (patch) | |
tree | 8fac6a35516663635345cc3c5a4555b5dc29c584 /interchange.c | |
parent | a94e13144f0a971d14d7abef8edf98a0eb9c707e (diff) |
Add image large to product
Diffstat (limited to 'interchange.c')
-rw-r--r-- | interchange.c | 2 |
1 files changed, 2 insertions, 0 deletions
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]); |