SDL_image: stb_image.h: NULL ptr dereference fix by Neil Bickford from mainstream:

From d372c870c37ad93fc26252b534f03b9b06f00ad9 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Sat, 25 Feb 2023 17:51:10 +0300
Subject: [PATCH] stb_image.h: NULL ptr dereference fix by Neil Bickford from
 mainstream:

Mainstream pull requests:
https://github.com/nothings/stb/pull/1454
Related mainstream issue tickets:
https://github.com/nothings/stb/issues/1452
---
 stb_image.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stb_image.h b/stb_image.h
index 5a7426c9..21783ac6 100644
--- a/stb_image.h
+++ b/stb_image.h
@@ -6613,7 +6613,7 @@ static void *stbi__pic_load(stbi__context *s,int *px,int *py,int *comp,int req_c
 
    if (!stbi__pic_load_core(s,x,y,comp, result)) {
       STBI_FREE(result);
-      result=0;
+      return 0;
    }
    *px = x;
    *py = y;