summaryrefslogtreecommitdiff
path: root/extra/mariabackup/backup_copy.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-03-26 15:03:37 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2019-03-26 15:03:37 +0200
commitffc69dbd05d31f016f3ac53be9d878ce133e60d6 (patch)
tree056faecdd7c90011e5729943725cd038019bc683 /extra/mariabackup/backup_copy.cc
parentdbc0d576a3f402ae52423fe424ed0a68f49537ef (diff)
parentac4934535daadba0a45ffa407a7643ca3ff2712a (diff)
downloadmariadb-git-ffc69dbd05d31f016f3ac53be9d878ce133e60d6.tar.gz
Merge 10.2 into 10.3
Diffstat (limited to 'extra/mariabackup/backup_copy.cc')
-rw-r--r--extra/mariabackup/backup_copy.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/extra/mariabackup/backup_copy.cc b/extra/mariabackup/backup_copy.cc
index 39171f29a2a..293b8d02af2 100644
--- a/extra/mariabackup/backup_copy.cc
+++ b/extra/mariabackup/backup_copy.cc
@@ -1210,6 +1210,7 @@ copy_or_move_file(const char *src_file_path,
if (!directory_exists(dst_dir, true)) {
ret = false;
+ free(link_filepath);
goto cleanup;
}