diff --git a/evmap.c b/evmap.c index 5521626c..5167d7ab 100644 --- a/evmap.c +++ b/evmap.c @@ -148,6 +148,7 @@ void evmap_io_clear(struct event_io_map *ctx) next = HT_NEXT_RMV(event_io_map, ctx, ent); mm_free(this); } + HT_CLEAR(event_io_map, ctx); /* remove all storage held by the ctx. */ } #endif