You've already forked OpenRCT2-Unity
mirror of
https://github.com/izzy2lost/OpenRCT2-Unity.git
synced 2026-03-10 12:38:22 -07:00
Use SDL_free to release SDL_RWops (#17591)
This commit is contained in:
committed by
GitHub
parent
71ad3af930
commit
5688eb511d
@@ -186,7 +186,7 @@ namespace OpenRCT2::Audio
|
||||
auto* ptr = static_cast<IStream*>(ctx->hidden.unknown.data1);
|
||||
delete ptr;
|
||||
ctx->hidden.unknown.data1 = nullptr;
|
||||
delete ctx;
|
||||
SDL_free(ctx);
|
||||
return 0;
|
||||
};
|
||||
return rw;
|
||||
|
||||
Reference in New Issue
Block a user