summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2020-03-11 14:05:41 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2020-03-11 14:05:41 +0100
commit3c9bc0ce19c260401b4dd4c33273487829b29df5 (patch)
treec0ac64399b70d571ec2e41d4dde2d38e6ebb1322 /extra
parent8fa1b6bb88be39001b98bab071b957da3c271a17 (diff)
parent02343c4a54b055ea3483075219bb3ce010c33671 (diff)
downloadmariadb-git-3c9bc0ce19c260401b4dd4c33273487829b29df5.tar.gz
Merge branch '10.2' into 10.3
Diffstat (limited to 'extra')
-rw-r--r--extra/mariabackup/xtrabackup.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/mariabackup/xtrabackup.cc b/extra/mariabackup/xtrabackup.cc
index ac307fda04e..2cfeb87ba79 100644
--- a/extra/mariabackup/xtrabackup.cc
+++ b/extra/mariabackup/xtrabackup.cc
@@ -3127,13 +3127,13 @@ xb_load_single_table_tablespace(
}
}
- ut_free(name);
-
delete file;
if (err != DB_SUCCESS && xtrabackup_backup && !is_empty_file) {
die("Failed to not validate first page of the file %s, error %d",name, (int)err);
}
+
+ ut_free(name);
}
/** Scan the database directories under the MySQL datadir, looking for