diff options
author | FaramosCZ <mschorm@centrum.cz> | 2018-11-29 15:28:03 +0100 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2019-03-22 14:52:30 +0400 |
commit | 9ff713d33a34d9cdec810e80b5ff23bbf1e21b15 (patch) | |
tree | 73915d6eaf854a548e2af3e60709d552f303dd41 /extra | |
parent | 8be02be08bf6a7227e2ab6a5443b63f3a155e2a9 (diff) | |
download | mariadb-git-9ff713d33a34d9cdec810e80b5ff23bbf1e21b15.tar.gz |
Fix resource leak
Diffstat (limited to 'extra')
-rw-r--r-- | extra/mariabackup/backup_copy.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extra/mariabackup/backup_copy.cc b/extra/mariabackup/backup_copy.cc index a998ebecd41..a270325211e 100644 --- a/extra/mariabackup/backup_copy.cc +++ b/extra/mariabackup/backup_copy.cc @@ -1216,6 +1216,7 @@ copy_or_move_file(const char *src_file_path, if (!directory_exists(dst_dir, true)) { ret = false; + free(link_filepath); goto cleanup; } |