summaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client.c')
-rw-r--r--client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/client.c b/client.c
index 9a2aa09..e829a88 100644
--- a/client.c
+++ b/client.c
@@ -151,6 +151,8 @@ void icclient_page(const char *path, size_t (*handler)(void *, size_t, size_t
void icclient_freeproduct(icclient_product *product)
{
+ if (product->author)
+ free(product->author);
if (product->image)
free(product->image);
if (product->comment)