Commit 0445c13aae157146432bde5ab602604d04377831

Sylvain 2021-11-22T16:49:17

Remove 'malloc' from comment

diff --git a/src/events/SDL_quit.c b/src/events/SDL_quit.c
index 628bf1b..8e613e1 100644
--- a/src/events/SDL_quit.c
+++ b/src/events/SDL_quit.c
@@ -54,7 +54,7 @@ SDL_HandleSIG(int sig)
     signal(sig, SDL_HandleSIG);
 
     /* Send a quit event next time the event loop pumps. */
-    /* We can't send it in signal handler; malloc() might be interrupted! */
+    /* We can't send it in signal handler; SDL_malloc() might be interrupted! */
     if ((sig == SIGINT) || (sig == SIGTERM)) {
         send_quit_pending = SDL_TRUE;
     }
diff --git a/src/video/SDL_video.c b/src/video/SDL_video.c
index 4404d96..accba17 100644
--- a/src/video/SDL_video.c
+++ b/src/video/SDL_video.c
@@ -347,7 +347,7 @@ SDL_CreateWindowTexture(SDL_VideoDevice *unused, SDL_Window * window, Uint32 * f
     data->pitch = (((window->w * data->bytes_per_pixel) + 3) & ~3);
 
     {
-        /* Make static analysis happy about potential malloc(0) calls. */
+        /* Make static analysis happy about potential SDL_malloc(0) calls. */
         const size_t allocsize = window->h * data->pitch;
         data->pixels = SDL_malloc((allocsize > 0) ? allocsize : 1);
         if (!data->pixels) {