From de7fefc270ef3fd8552773e8e6424ad5885b3062 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: Thu, 26 Sep 2019 22:23:02 +0800 Subject: There has to be SKU for a product to be --- product.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/product.c b/product.c index 71f47a5..7eca728 100644 --- a/product.c +++ b/product.c @@ -20,8 +20,7 @@ void icclient_product_freecatalog(icclient_catalog *catalog) free(product->comment); if (product->description) free(product->description); - if (product->sku) - free(product->sku); + free(product->sku); free(product); } free(catalog); -- cgit v1.2.3