]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
modules/hints: fixed memleak on exit
authorMarek Vavruša <marek.vavrusa@nic.cz>
Mon, 27 Apr 2015 14:19:22 +0000 (16:19 +0200)
committerMarek Vavruša <marek.vavrusa@nic.cz>
Mon, 27 Apr 2015 14:19:22 +0000 (16:19 +0200)
modules/hints/hints.c

index a35356c128ffcdbe4fce50a5c58348c1bb94cce7..ed4e931cc795938c654640ae00a2010872ce6c67 100644 (file)
@@ -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;
        }