Merge pull request #3447 from arthurschreiber/arthur/fix-odb-refdb-free refdb and odb backends must provide `free` function