From 5e2d4d644aea80c399ce4b8fddec8e9f1dc996bd Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Fri, 7 Apr 2023 19:21:47 +0100 Subject: [PATCH] screencopy: fix crash --- src/protocols/Screencopy.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/protocols/Screencopy.cpp b/src/protocols/Screencopy.cpp index 181cd9b33..074220238 100644 --- a/src/protocols/Screencopy.cpp +++ b/src/protocols/Screencopy.cpp @@ -348,7 +348,6 @@ void CScreencopyProtocolManager::shareFrame(SScreencopyFrame* frame) { uint32_t tvSecHi = (sizeof(now.tv_sec) > 4) ? now.tv_sec >> 32 : 0; uint32_t tvSecLo = now.tv_sec & 0xFFFFFFFF; zwlr_screencopy_frame_v1_send_ready(frame->resource, tvSecHi, tvSecLo, now.tv_nsec); - removeFrame(frame); } void CScreencopyProtocolManager::sendFrameDamage(SScreencopyFrame* frame) { if (!frame->withDamage)