Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
yukani committed Aug 16, 2023
1 parent 1cd5888 commit fb8d724
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions source/game_sa/Audio/managers/AEUserRadioTrackManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -397,9 +397,7 @@ std::wstring CAEUserRadioTrackManager::ResolveShortcut(const std::wstring& path)
persistFile->Release();
shellLink->Release();

std::wstring out = target;
delete[] target;
return out;
return target;
}

void CAEUserRadioTrackManager::InjectHooks() {
Expand Down

0 comments on commit fb8d724

Please sign in to comment.