diff --git a/src/libmowgli/dns/dns.c b/src/libmowgli/dns/dns.c index d8c6922..4a598c7 100644 --- a/src/libmowgli/dns/dns.c +++ b/src/libmowgli/dns/dns.c @@ -22,7 +22,7 @@ mowgli_dns_t * mowgli_dns_create(mowgli_eventloop_t *eventloop, int implementation) { - mowgli_dns_t *dns = mowgli_alloc(sizeof(mowgli_dns_ops_t)); + mowgli_dns_t *dns = mowgli_alloc(sizeof(mowgli_dns_t)); mowgli_dns_ops_t *ops; switch (implementation)