Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 24a0ed7

Browse files
committed
[CI 14843] engine: deploy: Use 'free' rather than delete in MCDeployToLinuxReadString.
1 parent aa877f9 commit 24a0ed7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

engine/src/deploy_linux.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ static bool MCDeployToLinuxReadString(MCDeployFileRef p_file, typename T::Shdr&
621621
if (t_success)
622622
r_string = t_buffer;
623623
else
624-
delete t_buffer;
624+
free(t_buffer);
625625

626626
return t_success;
627627
}

0 commit comments

Comments
 (0)