summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client.c2
-rw-r--r--icclient/product.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/client.c b/client.c
index 18eca17..512e3e4 100644
--- a/client.c
+++ b/client.c
@@ -161,6 +161,8 @@ void icclient_freeproduct(icclient_product *product)
free(product->author);
if (product->image)
free(product->image);
+ if (product->thumb)
+ free(product->thumb);
if (product->comment)
free(product->comment);
if (product->description)
diff --git a/icclient/product.h b/icclient/product.h
index a324eef..51efa46 100644
--- a/icclient/product.h
+++ b/icclient/product.h
@@ -10,6 +10,7 @@ struct icclient_product {
char *sku;
char *description;
char *comment;
+ char *thumb;
char *image;
double price;
char *prod_group;