diff options
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; } |