DB_make_paths_absolute: guard malloc()