diff options
-rw-r--r-- | interchange.c | 2 | ||||
-rw-r--r-- | interchange.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/interchange.c b/interchange.c index 223e3c1..473b7f4 100644 --- a/interchange.c +++ b/interchange.c @@ -81,6 +81,8 @@ void interchange_clear_product(struct interchange_product *product) free(product->crosssell->skus[i]); if (product->author) free(product->author); + if (product->option_type) + free(product->option_type); if (product->category) free(product->category); if (product->prod_group) diff --git a/interchange.h b/interchange.h index 2c7be52..957b510 100644 --- a/interchange.h +++ b/interchange.h @@ -14,6 +14,7 @@ struct interchange_product { char *prod_group; char *category; double weight; + char *option_type; char *author; struct interchange_product_crosssell { size_t length; |