This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
bucde
/
notes_pulseaudio-module-xrdp
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
7
Wiki
Activity
Browse Source
Close file socket on module unload
pull/59/head
matt335672
3 years ago
parent
2d4cb1ea96
commit
127a7e27ae
2 changed files
with
12 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
src/module-xrdp-sink.c
+6
-0
src/module-xrdp-source.c
+ 6
- 0
src/module-xrdp-sink.c
View File
@ -578,6 +578,12 @@ void pa__done(pa_module*m) {
pa_rtpoll_free
(
u
-
>
rtpoll
)
;
}
if
(
u
-
>
fd
>
=
0
)
{
close
(
u
-
>
fd
)
;
u
-
>
fd
=
-
1
;
}
pa_xfree
(
u
-
>
sink_socket
)
;
pa_xfree
(
u
)
;
}
+ 6
- 0
src/module-xrdp-source.c
View File
@ -526,6 +526,12 @@ void pa__done(pa_module*m) {
if
(
u
-
>
rtpoll
)
pa_rtpoll_free
(
u
-
>
rtpoll
)
;
if
(
u
-
>
fd
>
=
0
)
{
close
(
u
-
>
fd
)
;
u
-
>
fd
=
-
1
;
}
pa_xfree
(
u
-
>
source_socket
)
;
pa_xfree
(
u
)
;
}
Write
Preview
Loading…
Cancel
Save