diff options
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]); |