mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-03-13 05:33:50 -04:00
some updates for pa_hashmap
add property infrastructure add module module-x11-publish allow ldpreloading of all modules abstract x11wrap from module-x11-bell git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@268 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
4e5c44de30
commit
899788b4c5
36 changed files with 827 additions and 90 deletions
|
|
@ -100,15 +100,11 @@ const char *pa_namereg_register(struct pa_core *c, const char *name, enum pa_nam
|
|||
|
||||
void pa_namereg_unregister(struct pa_core *c, const char *name) {
|
||||
struct namereg_entry *e;
|
||||
int r;
|
||||
assert(c && name);
|
||||
|
||||
e = pa_hashmap_get(c->namereg, name);
|
||||
e = pa_hashmap_remove(c->namereg, name);
|
||||
assert(e);
|
||||
|
||||
r = pa_hashmap_remove(c->namereg, name);
|
||||
assert(r >= 0);
|
||||
|
||||
pa_xfree(e->name);
|
||||
pa_xfree(e);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue