]> git.cameronkatri.com Git - mandoc.git/blobdiff - test-ohash.c
Two minor tweaks regarding the fallback from -u/-d to default mode:
[mandoc.git] / test-ohash.c
index 72b3e3dd4eb6a7b01935d9c7d8214d4e457d9111..84d1b6772102aa0be0e7aef3b8cae878d7ed333a 100644 (file)
@@ -12,7 +12,7 @@ main(void)
        struct ohash h;
        struct ohash_info i;
        i.halloc = i.alloc = xalloc;
-       i.free = free;
+       i.hfree = xfree;
        ohash_init(&h, 2, &i);
        ohash_delete(&h);
        return 0;