mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
osshelper: Don't leak fd when getting card name
https://bugzilla.gnome.org/show_bug.cgi?id=722163
This commit is contained in:
parent
2ad1f20e7b
commit
c6d0f122c9
1 changed files with 1 additions and 0 deletions
|
@ -411,6 +411,7 @@ gst_oss_helper_get_card_name (const gchar * mixer_name)
|
|||
GST_INFO ("Unknown card name");
|
||||
}
|
||||
|
||||
close (fd);
|
||||
return name;
|
||||
|
||||
/* ERRORS */
|
||||
|
|
Loading…
Reference in a new issue