jack: free the global map when the client is closed

This commit is contained in:
Wim Taymans 2021-03-22 11:21:44 +01:00
parent fa1350b0cf
commit 53024c1747

View file

@ -2734,6 +2734,7 @@ int jack_client_close (jack_client_t *client)
pw_thread_loop_destroy(c->context.loop);
pw_log_debug(NAME" %p: free", client);
pw_map_clear(&c->context.globals);
pthread_mutex_destroy(&c->context.lock);
pw_properties_free(c->props);
free(c);