summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2020-03-11 14:28:24 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2020-03-11 14:28:24 +0100
commitb7362d5fbc37dec340aeacd1fb0967c4226c022a (patch)
treea11789da64e27f66ea9bd83e365f3038c58d9cd8 /extra
parentb8c0e4967098fa40094229775e3560fa9052005e (diff)
parent3c9bc0ce19c260401b4dd4c33273487829b29df5 (diff)
downloadmariadb-git-b7362d5fbc37dec340aeacd1fb0967c4226c022a.tar.gz
Merge branch '10.3' into 10.4
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 58b6e02adc6..1b2f681dd8a 100644
--- a/extra/mariabackup/xtrabackup.cc
+++ b/extra/mariabackup/xtrabackup.cc
@@ -3133,13 +3133,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