Merge "make: fix memory leak"

This commit is contained in:
Treehugger Robot 2022-07-11 21:09:58 +00:00 committed by Gerrit Code Review
commit 66b010f2cf

View file

@ -147,7 +147,7 @@ class RunfilesCreator {
info->type = FILE_TYPE_REGULAR; info->type = FILE_TYPE_REGULAR;
} else { } else {
info->type = FILE_TYPE_SYMLINK; info->type = FILE_TYPE_SYMLINK;
info->symlink_target = strdup(target); info->symlink_target = target;
} }
FileInfo parent_info; FileInfo parent_info;