diff --git a/src/plugins/screencast/screencaststream.cpp b/src/plugins/screencast/screencaststream.cpp index fb35825c80..90d38c727f 100644 --- a/src/plugins/screencast/screencaststream.cpp +++ b/src/plugins/screencast/screencaststream.cpp @@ -360,6 +360,10 @@ ScreenCastStream::ScreenCastStream(ScreenCastSource *source, std::shared_ptrpwMainLoop, m_pwRenegotiate); + } if (m_pwStream) { pw_stream_destroy(m_pwStream); }