memory leak fixes

This commit is contained in:
Wim Taymans 2017-07-11 20:54:10 +02:00
parent 83b4eaca53
commit 267547c884
3 changed files with 10 additions and 0 deletions

View file

@ -551,6 +551,10 @@ gst_pipewire_device_provider_stop (GstDeviceProvider * provider)
pw_remote_destroy (self->remote);
self->remote = NULL;
}
if (self->core) {
pw_core_destroy (self->core);
self->core = NULL;
}
if (self->main_loop) {
pw_thread_loop_destroy (self->main_loop);
self->main_loop = NULL;