jmap: fix jmap_free, tests.
[ccan] / ccan / jmap / jmap.c
index 38b912fd200b98b1c5df8074c1a77d188306fd37..78b7ba21b98b5ac56b8e7ff28c7f52b6fc897ddd 100644 (file)
@@ -43,6 +43,6 @@ const char *jmap_error_(struct jmap *map)
 void jmap_free(const struct jmap *map)
 {
        free((char *)map->errstr);
-       Judy1FreeArray((PPvoid_t)&map->judy, PJE0);
+       JudyLFreeArray((PPvoid_t)&map->judy, PJE0);
        free((void *)map);
 }