summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);