summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-26 22:23:02 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-26 22:23:02 +0800
commitde7fefc270ef3fd8552773e8e6424ad5885b3062 (patch)
tree1587956b75965a0416f56fbebde5bdfc0a1829ec
parent8b8fcdd17bf243440f52bd74e447afcface8b107 (diff)
There has to be SKU for a product to be
-rw-r--r--product.c3
1 files changed, 1 insertions, 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);