Commit ae6e7fee authored by Lewis Lakerink's avatar Lewis Lakerink Committed by David Edmundson
Browse files

Fix pipewire stream double free

(cherry picked from commit 16cb4286)
parent 6addcab3
......@@ -252,6 +252,7 @@ bool PipeWireStream::createStream()
if (pw_stream_connect(pwStream, PW_DIRECTION_OUTPUT, SPA_ID_INVALID, flags, &param, 1) != 0) {
qCWarning(KWIN_SCREENCAST) << "Could not connect to stream";
pwStream = nullptr;
return false;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment