Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
ae6e7fee
Commit
ae6e7fee
authored
Oct 20, 2020
by
Lewis Lakerink
Committed by
David Edmundson
Oct 20, 2020
Browse files
Fix pipewire stream double free
(cherry picked from commit
16cb4286
)
parent
6addcab3
Changes
1
Show whitespace changes
Inline
Side-by-side
screencast/pipewirestream.cpp
View file @
ae6e7fee
...
...
@@ -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"
;
pw_stream_destroy
(
pwStream
);
pwStream
=
nullptr
;
return
false
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment