Skip to content

Commit

Permalink
Fix resource leak
Browse files Browse the repository at this point in the history
  • Loading branch information
FaramosCZ authored and Sergey Vojtovich committed Mar 22, 2019
1 parent 8be02be commit 9ff713d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extra/mariabackup/backup_copy.cc
Expand Up @@ -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;
}

Expand Down

0 comments on commit 9ff713d

Please sign in to comment.