summaryrefslogtreecommitdiff
path: root/pipewire-jack/src/pipewire-jack.c
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2020-04-30 13:11:01 +0200
committerWim Taymans <wtaymans@redhat.com>2020-04-30 13:11:01 +0200
commit8141c92dde9953de9334446415bae6e05209ed64 (patch)
tree74b4e078ed3bcce6b07fdce16253816de5b66638 /pipewire-jack/src/pipewire-jack.c
parent30d5a247e1b6e9a6547d4c671788ab2b72e8cc6c (diff)
jack: free some objects
Diffstat (limited to 'pipewire-jack/src/pipewire-jack.c')
-rw-r--r--pipewire-jack/src/pipewire-jack.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pipewire-jack/src/pipewire-jack.c b/pipewire-jack/src/pipewire-jack.c
index e698326f..c7688a4a 100644
--- a/pipewire-jack/src/pipewire-jack.c
+++ b/pipewire-jack/src/pipewire-jack.c
@@ -2394,6 +2394,8 @@ int jack_client_close (jack_client_t *client)
pw_thread_loop_destroy(c->context.loop);
pw_log_debug(NAME" %p: free", client);
+ pthread_mutex_destroy(&c->context.lock);
+ pw_data_loop_destroy(c->loop);
free(c);
return res;