SDL2: fix bad patchset (#13602)

This commit is contained in:
erysdren
2026-01-09 07:34:50 -06:00
committed by GitHub
parent 048fa7976c
commit 7cb8f104d7

View File

@@ -340,17 +340,17 @@ index d541289..14ab252 100644
2.52.0
From 931a779f35719c59efba6859bc37241232838eda Mon Sep 17 00:00:00 2001
From 73605dff2a3125e71721855826269130582ad2b9 Mon Sep 17 00:00:00 2001
From: erysdren <contact@erysdren.me>
Date: Thu, 8 Jan 2026 04:18:45 -0600
Subject: fix modelist potential bogus free
diff --git a/src/video/haiku/SDL_bmodes.cc b/src/video/haiku/SDL_bmodes.cc
index 86c5d8a..053a1ca 100644
index 86c5d8a..6dc06f5 100644
--- a/src/video/haiku/SDL_bmodes.cc
+++ b/src/video/haiku/SDL_bmodes.cc
@@ -244,17 +244,20 @@ void HAIKU_GetDisplayModes(_THIS, SDL_VideoDisplay *display) {
@@ -244,17 +244,18 @@ void HAIKU_GetDisplayModes(_THIS, SDL_VideoDisplay *display) {
uint32 count, i;
/* Get graphics-hardware supported modes */