summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-06-20 11:01:57 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-06-20 11:01:57 +0800
commit0d45381125b73feea759213b8341deb4e08d600c (patch)
tree051ce65bcdae9c196a4242754e48919699fd1d2d
parentd5611aff4cbc6ce13282720a0f72fc9d8690c8dd (diff)
prodgroup gets freed too
-rw-r--r--client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/client.c b/client.c
index f1591e8..9af1be5 100644
--- a/client.c
+++ b/client.c
@@ -171,6 +171,8 @@ void icclient_freeproduct(icclient_product *product)
{
if (product->author)
free(product->author);
+ if (product->prodgroup)
+ free(product->prodgroup);
if (product->image)
free(product->image);
if (product->thumb)