]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb2/test/run-record-expand.c
tdb2: move open routines into a separate file (open.c)
[ccan] / ccan / tdb2 / test / run-record-expand.c
index 809b8d7730b20beec5b3f0970f395adaef936c42..63bbf18d4fc0cae98769dff1c9851aac7b099214 100644 (file)
@@ -1,9 +1,11 @@
 #include <ccan/tdb2/tdb.c>
+#include <ccan/tdb2/open.c>
 #include <ccan/tdb2/free.c>
 #include <ccan/tdb2/lock.c>
 #include <ccan/tdb2/io.c>
 #include <ccan/tdb2/hash.c>
 #include <ccan/tdb2/check.c>
+#include <ccan/tdb2/transaction.c>
 #include <ccan/tap/tap.h>
 #include "logging.h"
 
@@ -45,5 +47,7 @@ int main(int argc, char *argv[])
                tdb_close(tdb);
        }
        ok1(tap_log_messages == 0);
+       free(data.dptr);
+
        return exit_status();
 }