summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--interchange.c2
-rw-r--r--interchange.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/interchange.c b/interchange.c
index 5219474..55bbdd0 100644
--- a/interchange.c
+++ b/interchange.c
@@ -84,6 +84,8 @@ void interchange_free_product(struct interchange_product *product)
free(product->comment);
if (product->description)
free(product->description);
+ if (product->title)
+ free(product->title);
free(product->sku);
free(product);
}
diff --git a/interchange.h b/interchange.h
index 38e557f..db82441 100644
--- a/interchange.h
+++ b/interchange.h
@@ -5,6 +5,7 @@
struct interchange_product {
char *sku;
+ char *title;
char *description;
char *comment;
char *thumb;