mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-09 13:29:59 -05:00
Comment some more files
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@309 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
2fb83d13f2
commit
4763ca1376
45 changed files with 428 additions and 81 deletions
|
|
@ -42,7 +42,7 @@ struct pa_client *pa_client_new(struct pa_core *core, const char *protocol_name,
|
|||
c->name = pa_xstrdup(name);
|
||||
c->owner = NULL;
|
||||
c->core = core;
|
||||
c->protocol_name = protocol_name;
|
||||
c->protocol_name = pa_xstrdup(protocol_name);
|
||||
|
||||
c->kill = NULL;
|
||||
c->userdata = NULL;
|
||||
|
|
@ -68,6 +68,7 @@ void pa_client_free(struct pa_client *c) {
|
|||
pa_log(__FILE__": freed %u \"%s\"\n", c->index, c->name);
|
||||
pa_subscription_post(c->core, PA_SUBSCRIPTION_EVENT_CLIENT|PA_SUBSCRIPTION_EVENT_REMOVE, c->index);
|
||||
pa_xfree(c->name);
|
||||
pa_xfree(c->protocol_name);
|
||||
pa_xfree(c);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue