From ec2159d4920205b6a6bfb46286a2419257b75df7 Mon Sep 17 00:00:00 2001 From: Frank Praznik Date: Wed, 10 Jan 2024 11:17:06 -0500 Subject: [PATCH] tests: Clean up the window creation properties in the Wayland custom surface example --- test/testwaylandcustom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/testwaylandcustom.c b/test/testwaylandcustom.c index 3e1042bbbe..19196f2187 100644 --- a/test/testwaylandcustom.c +++ b/test/testwaylandcustom.c @@ -217,6 +217,7 @@ int main(int argc, char **argv) SDL_SetStringProperty(props, SDL_PROPERTY_WINDOW_CREATE_TITLE_STRING, "Wayland custom surface role test"); /* Default title */ window = SDL_CreateWindowWithProperties(props); + SDL_DestroyProperties(props); if (!window) { SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Window creation failed"); goto exit;