diff --git a/modules/hints/hints.c b/modules/hints/hints.c
index a35356c128ffcdbe4fce50a5c58348c1bb94cce7..ed4e931cc795938c654640ae00a2010872ce6c67 100644
--- a/modules/hints/hints.c
+++ b/modules/hints/hints.c
@@ -186,6 +186,7 @@ static void unload(struct kr_module *module)
 {
 	struct kr_zonecut *hints = module->data;
 	if (hints) {
+		kr_zonecut_deinit(hints);
 		mp_delete(hints->pool->ctx);
 		module->data = NULL;
 	}