full_path is now a 'volatile' freed by ez_blob
authorNot Zed <notzed@gmail.com>
Fri, 11 Jun 2021 01:24:36 +0000 (10:54 +0930)
committerNot Zed <notzed@gmail.com>
Fri, 11 Jun 2021 01:24:36 +0000 (10:54 +0930)
dbindex.c

index a74d559..024cf48 100644 (file)
--- a/dbindex.c
+++ b/dbindex.c
@@ -560,7 +560,6 @@ char *dbfile_full_path(dbtxn *tx, dbindex *db, dbfile *file) {
 
 void dbfile_free(dbfile *f) {
        if (f) {
-               free(f->full_path);
                ez_blob_free(DBFILE_DESC, f);
        }
 }