mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-01 22:58:47 -04:00
stream-restore: Add a missing pa_xnew0() call in handle_add_entry().
This commit is contained in:
parent
a6b7ac6826
commit
00debf4243
1 changed files with 1 additions and 0 deletions
|
|
@ -649,6 +649,7 @@ static void handle_add_entry(DBusConnection *conn, DBusMessage *msg, void *userd
|
|||
dbus_entry = dbus_entry_new(u, name);
|
||||
pa_assert_se(pa_hashmap_put(u->dbus_entries, dbus_entry->entry_name, dbus_entry) == 0);
|
||||
|
||||
e = pa_xnew0(struct entry, 1);
|
||||
e->muted_valid = TRUE;
|
||||
e->volume_valid = !!map.channels;
|
||||
e->device_valid = !!device[0];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue