From 79656a6b50f1bf7814b1077dbce509740914dd5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Sun, 19 Feb 2023 15:43:47 +0800 Subject: Add product title --- interchange.c | 2 ++ interchange.h | 1 + 2 files changed, 3 insertions(+) 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; -- cgit v1.2.3