diff --git a/extlib/xhash/xhash.h b/extlib/xhash/xhash.h index 4cf70ae6..3b9509c0 100644 --- a/extlib/xhash/xhash.h +++ b/extlib/xhash/xhash.h @@ -93,8 +93,8 @@ xh_destory(struct xhash *x) for (i = 0; i < x->size; ++i) { e = x->buckets[i]; while (e) { - e = e->next; free((void*)e->key); + e = e->next; free(e); } }