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
@ -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…
x
Reference in New Issue
Block a user