From b4590ddec4936fd542691ac0d35628afdb9331e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Fri, 19 Jun 2020 15:09:08 +0800 Subject: Add thumb member to product --- client.c | 2 ++ icclient/product.h | 1 + 2 files changed, 3 insertions(+) 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; -- cgit v1.2.3