summaryrefslogtreecommitdiff
path: root/catalog.c
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-13 08:40:26 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-13 08:40:26 +0800
commitdaf858c02db1a5a12151d142ce55dfe9fbb2b715 (patch)
treed6343c4f8b7ef9bad9e3a17264b201f6b8012791 /catalog.c
parent0a6e2943843ca894abc562ba98bcbf3399769481 (diff)
Merge catalog and product to client
Diffstat (limited to 'catalog.c')
-rw-r--r--catalog.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/catalog.c b/catalog.c
deleted file mode 100644
index 6faf0eb..0000000
--- a/catalog.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <stdlib.h>
-#include "icclient/product.h"
-#include "icclient/catalog.h"
-
-void icclient_catalog_free(struct icclient_catalog *catalog)
-{
- for (size_t i = 0; i < catalog->length; i++)
- icclient_product_free(catalog->products[i]);
- free(catalog);
-}