summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/client.c b/client.c
index 6726fe6..d01a1bc 100644
--- a/client.c
+++ b/client.c
@@ -38,7 +38,6 @@ bool icclient_init(const char *url, const char *certificate)
void icclient_allproducts(size_t (*handler)(void *, size_t, size_t, void *)
, icclient_catalog **catalogptr)
{
- (*catalogptr) = malloc(sizeof(icclient_catalog));
request(handler, (void *)catalogptr, NULL, "%s", "All-Products");
}