Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
libnice
Commits
b8f0eede
Commit
b8f0eede
authored
Aug 11, 2014
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
outputstream: Fix ref leak
parent
a662be4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
agent/outputstream.c
agent/outputstream.c
+3
-3
No files found.
agent/outputstream.c
View file @
b8f0eede
...
@@ -535,10 +535,10 @@ nice_output_stream_write_nonblocking (GPollableOutputStream *stream,
...
@@ -535,10 +535,10 @@ nice_output_stream_write_nonblocking (GPollableOutputStream *stream,
if
(
count
==
0
)
{
if
(
count
==
0
)
{
g_object_unref
(
agent
);
g_object_unref
(
agent
);
return
0
;
n_sent
=
0
;
goto
done
;
}
}
n_sent
=
nice_agent_send
(
agent
,
priv
->
stream_id
,
priv
->
component_id
,
n_sent
=
nice_agent_send
(
agent
,
priv
->
stream_id
,
priv
->
component_id
,
count
,
buffer
);
count
,
buffer
);
...
@@ -546,7 +546,7 @@ nice_output_stream_write_nonblocking (GPollableOutputStream *stream,
...
@@ -546,7 +546,7 @@ nice_output_stream_write_nonblocking (GPollableOutputStream *stream,
g_set_error_literal
(
error
,
G_IO_ERROR
,
G_IO_ERROR_WOULD_BLOCK
,
g_set_error_literal
(
error
,
G_IO_ERROR
,
G_IO_ERROR_WOULD_BLOCK
,
g_strerror
(
EAGAIN
));
g_strerror
(
EAGAIN
));
done:
g_object_unref
(
agent
);
g_object_unref
(
agent
);
...
...
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