Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
34d9d8ab
Commit
34d9d8ab
authored
Aug 30, 2011
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
output/raop: merge raopcl_close() into _finish()
.. and fix a double free bug.
parent
bd67e986
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
raop_output_plugin.c
src/output/raop_output_plugin.c
+4
-10
No files found.
src/output/raop_output_plugin.c
View file @
34d9d8ab
...
...
@@ -562,15 +562,6 @@ raopcl_connect(struct raop_data *rd, GError **error_r)
return
rval
;
}
static
void
raopcl_close
(
struct
raop_data
*
rd
)
{
if
(
rd
->
rtspcl
)
rtspcl_close
(
rd
->
rtspcl
);
rd
->
rtspcl
=
NULL
;
g_free
(
rd
);
}
static
int
difference
(
struct
timeval
*
t1
,
struct
timeval
*
t2
)
{
...
...
@@ -666,7 +657,10 @@ static void
raop_output_finish
(
void
*
data
)
{
struct
raop_data
*
rd
=
data
;
raopcl_close
(
rd
);
if
(
rd
->
rtspcl
)
rtspcl_close
(
rd
->
rtspcl
);
g_mutex_free
(
rd
->
control_mutex
);
g_free
(
rd
);
}
...
...
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