Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Marc-André Lureau
gst-plugins-good
Commits
1062992b
Commit
1062992b
authored
May 02, 2014
by
Vincent Penquerc'h
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oss4: fix a missing unlock and a return-only-when-assertions-enabled
Spotted on the side while looking at another issue.
parent
7ff514fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
sys/oss4/oss4-property-probe.c
sys/oss4/oss4-property-probe.c
+3
-1
No files found.
sys/oss4/oss4-property-probe.c
View file @
1062992b
...
...
@@ -315,7 +315,8 @@ gst_oss4_property_probe_get_values (GstObject * probe, const gchar * pname)
fd
=
GST_OSS4_SOURCE
(
probe
)
->
fd
;
}
else
{
GST_OBJECT_UNLOCK
(
obj
);
g_return_val_if_reached
(
NULL
);
g_assert_not_reached
();
return
NULL
;
}
/* copy fd if it's open, so we can just unconditionally close() later */
...
...
@@ -342,6 +343,7 @@ gst_oss4_property_probe_get_values (GstObject * probe, const gchar * pname)
}
if
(
devices
==
NULL
)
{
GST_OBJECT_UNLOCK
(
obj
);
GST_DEBUG_OBJECT
(
obj
,
"No devices found"
);
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