forked from rosebudai/OpenRCT2-Web
Use SDL_free to release SDL_RWops (#17591)
This commit is contained in:
1 parent
71ad3af930
commit
5688eb511d
1 file changed
+1
-1
@@ -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