mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-10 13:30:05 -05:00
gst: fix NULL pointer when listing devices
The gstdeviceprovider segfaults when listing the available devices, because it the pointer to GList * is initialized with NULL instead of the GList * itself. Don't use a pointer, but use the GList * directly.
This commit is contained in:
parent
dfa8011ed4
commit
5fa7630934
2 changed files with 3 additions and 3 deletions
|
|
@ -96,7 +96,7 @@ struct _GstPipeWireDeviceProvider {
|
|||
int error;
|
||||
gboolean end;
|
||||
gboolean list_only;
|
||||
GList **devices;
|
||||
GList *devices;
|
||||
};
|
||||
|
||||
struct _GstPipeWireDeviceProviderClass {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue