diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-05-27 11:55:00 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-05-27 11:55:00 +0000 |
commit | b591a78e98e75c54bb9e952d21de0b2fee7f983d (patch) | |
tree | b48a32ba35a207f18d1721bb7e9ee04ce956fa37 /src/pulse.c | |
parent | 1024d1a9562360e83f15761d61111c0c18b875a6 (diff) |
various fixes
git-svn-id: file:///home/lennart/svn/public/libcanberra/trunk@18 01b60673-d06a-42c0-afdd-89cb8e0f78ac
Diffstat (limited to 'src/pulse.c')
-rw-r--r-- | src/pulse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pulse.c b/src/pulse.c index fcf8148..b576058 100644 --- a/src/pulse.c +++ b/src/pulse.c @@ -270,7 +270,6 @@ int driver_open(ca_context *c) { return ret; } - if (!(p->context = pa_context_new_with_proplist(pa_threaded_mainloop_get_api(p->mainloop), "libcanberra", l))) { pa_proplist_free(l); driver_destroy(c); @@ -346,6 +345,8 @@ int driver_destroy(ca_context *c) { ca_free(p); + c->private = NULL; + return CA_SUCCESS; } |