Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libdmapsharing
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
22
Issues
22
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
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
GNOME
libdmapsharing
Commits
3dbaeefc
Commit
3dbaeefc
authored
May 31, 2015
by
W. Michael Petullo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix two errors identified by Coverity (GNOME bug #749886)
Signed-off-by:
W. Michael Petullo
<
mike@flyn.org
>
parent
a946972e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
libdmapsharing/daap-share.c
libdmapsharing/daap-share.c
+5
-5
libdmapsharing/dmap-gst-qt-input-stream.c
libdmapsharing/dmap-gst-qt-input-stream.c
+1
-1
No files found.
libdmapsharing/daap-share.c
View file @
3dbaeefc
...
...
@@ -523,6 +523,10 @@ _error:
soup_message_set_status
(
message
,
SOUP_STATUS_INTERNAL_SERVER_ERROR
);
if
(
NULL
!=
cd
)
{
if
(
NULL
!=
cd
->
stream
)
{
g_input_stream_close
(
cd
->
stream
,
NULL
,
NULL
);
}
g_free
(
cd
);
}
...
...
@@ -537,11 +541,7 @@ _error:
if
(
NULL
!=
error
)
{
g_error_free
(
error
);
}
if
(
NULL
!=
cd
->
stream
)
{
g_input_stream_close
(
cd
->
stream
,
NULL
,
NULL
);
}
if
(
NULL
!=
stream
)
{
g_input_stream_close
(
stream
,
NULL
,
NULL
);
}
...
...
libdmapsharing/dmap-gst-qt-input-stream.c
View file @
3dbaeefc
...
...
@@ -126,7 +126,7 @@ dmap_gst_qt_input_stream_new (GInputStream * src_stream)
gst_bin_add_many
(
GST_BIN
(
pipeline
),
src
,
decode
,
convert
,
audio_encode
,
mux
,
sink
,
NULL
);
if
(
FALSE
==
gst_element_link
(
s
tream
->
priv
->
src
,
stream
->
priv
->
decode
))
{
if
(
FALSE
==
gst_element_link
(
s
rc
,
decode
))
{
g_warning
(
"Error linking source and decode elements"
);
goto
done
;
}
...
...
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