1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-20 08:58:00 +02:00

Added missing ()'s for allocations

This commit is contained in:
Brian Fiete 2020-05-11 10:16:24 -07:00
parent 2320e2eb8c
commit 40fe76d903
10 changed files with 21 additions and 21 deletions

View file

@ -128,7 +128,7 @@ namespace System.IO
char16* cStr = null;
if (shellItem.VT.GetDisplayName(shellItem, .FILESYSPATH, out cStr) == .OK)
{
let str = scope String..Append(cStr);
let str = scope String()..Append(cStr);
mSelectedPath.Append(str);
Windows.COM_IUnknown.CoTaskMemFree(cStr);
result = .OK;