projects
/
profile
/
ivi
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6b7ac6
)
stream-restore: Add a missing pa_xnew0() call in handle_add_entry().
author
Tanu Kaskinen
<ext-tanu.kaskinen@nokia.com>
Thu, 3 Dec 2009 13:32:23 +0000
(15:32 +0200)
committer
Colin Guthrie
<cguthrie@mandriva.org>
Thu, 3 Dec 2009 21:50:19 +0000
(21:50 +0000)
src/modules/module-stream-restore.c
patch
|
blob
|
history
diff --git
a/src/modules/module-stream-restore.c
b/src/modules/module-stream-restore.c
index
ce92362
..
a1273fe
100644
(file)
--- a/
src/modules/module-stream-restore.c
+++ b/
src/modules/module-stream-restore.c
@@
-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];