From 101c4327ccd96fde49233f9d3e2bdbc8eb1d267b Mon Sep 17 00:00:00 2001 From: Yousef Khadadeh Date: Mon, 12 Jan 2026 15:08:22 +0300 Subject: [PATCH] Unlock and destroy converted surface before error is thrown --- src/InputManager.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/InputManager.cpp b/src/InputManager.cpp index e19d03a..e92a8d3 100644 --- a/src/InputManager.cpp +++ b/src/InputManager.cpp @@ -215,8 +215,11 @@ void InputManager::get_clipboard_image_data_SDL(const std::function