diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/module-udev-detect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-udev-detect.c b/src/modules/module-udev-detect.c index b667cb44..1ad6fa2d 100644 --- a/src/modules/module-udev-detect.c +++ b/src/modules/module-udev-detect.c @@ -340,7 +340,7 @@ int pa__init(pa_module *m) { goto fail; } - m->userdata = u = pa_xnew(struct userdata, 1); + m->userdata = u = pa_xnew0(struct userdata, 1); u->core = m->core; u->devices = pa_hashmap_new(pa_idxset_string_hash_func, pa_idxset_string_compare_func); u->use_tsched = TRUE; |